diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-10-10 23:26:58 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-11 11:05:43 -0700 |
commit | 0aa7deadffd8b596983a3abe29a218b4c5f43301 (patch) | |
tree | 0f741572d7f370e17bd3e504a879b57a637b74e4 /drivers/net/sfc/efx.h | |
parent | ec622ab072e95cf96e78ab4d39d4eea874518c80 (diff) | |
download | blackbird-op-linux-0aa7deadffd8b596983a3abe29a218b4c5f43301.tar.gz blackbird-op-linux-0aa7deadffd8b596983a3abe29a218b4c5f43301.zip |
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 'drivers/net/sfc/efx.h')
0 files changed, 0 insertions, 0 deletions