From: Jiri Slaby Date: Sun, 10 Oct 2010 23:26:58 +0000 (+0000) Subject: NET: wimax, fix use after free X-Git-Tag: v2.6.36-rc8~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aa7deadffd8b596983a3abe29a218b4c5f43301;p=pandora-kernel.git 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 Cc: Inaky Perez-Gonzalez Cc: linux-wimax@intel.com Acked-by: Inaky Perez-Gonzalez Signed-off-by: David S. Miller --- Reading git-diff-tree failed