diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-10-10 19:26:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-11 14:05:43 -0400 |
commit | 0aa7deadffd8b596983a3abe29a218b4c5f43301 (patch) | |
tree | 0f741572d7f370e17bd3e504a879b57a637b74e4 /mm/percpu_up.c | |
parent | ec622ab072e95cf96e78ab4d39d4eea874518c80 (diff) |
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 'mm/percpu_up.c')
0 files changed, 0 insertions, 0 deletions