aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-06-24 01:34:49 +0000
committerDavid S. Miller <davem@davemloft.net>2009-07-15 08:53:37 -0700
commit4f45b2cd4e78b5e49d7d41548345b879d3fdfeae (patch)
treea93bd6d6b40e0271bb0e2e4ab775e2e68bc041e8 /arch/mips
parentb333b3d22822cf9b295990866798e9239c9dee72 (diff)
downloadkernel_samsung_espresso10-4f45b2cd4e78b5e49d7d41548345b879d3fdfeae.zip
kernel_samsung_espresso10-4f45b2cd4e78b5e49d7d41548345b879d3fdfeae.tar.gz
kernel_samsung_espresso10-4f45b2cd4e78b5e49d7d41548345b879d3fdfeae.tar.bz2
wext: optimise, comment and fix event sending
The current function for sending events first allocates the event stream buffer, and then an skb to copy the event stream into. This can be done in one go. Also, the current function leaks kernel data to userspace in a 4 uninitialised bytes, initialise those explicitly. Finally also add a few useful comments, as opposed to the current comments. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions