summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2010-10-10 23:26:58 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-11 11:05:43 -0700
commit0aa7deadffd8b596983a3abe29a218b4c5f43301 (patch)
tree0f741572d7f370e17bd3e504a879b57a637b74e4 /lib
parentec622ab072e95cf96e78ab4d39d4eea874518c80 (diff)
downloadlinux-0aa7deadffd8b596983a3abe29a218b4c5f43301.tar.gz
NET: wimax, fix use after free
Stanse found that i2400m_rx frees skb, but still uses skb->len even
though it has skb_len defined. So use skb_len properly in the code.

And also define it unsinged int rather than size_t to solve
compilation warnings.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Cc: linux-wimax@intel.com
Acked-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions