From: Johannes Berg Date: Wed, 24 Jun 2009 01:34:49 +0000 (+0000) Subject: wext: optimise, comment and fix event sending X-Git-Tag: v2.6.32-rc1~703^2~625 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f45b2cd4e78b5e49d7d41548345b879d3fdfeae;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed