From: Jiri Slaby Date: Sun, 10 Oct 2010 21:50:44 +0000 (+0000) Subject: ATM: solos-pci, remove use after free X-Git-Tag: v2.6.36-rc8~2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1ee89d5b007620353fb7dec1d34db4baa1a5571;p=pandora-kernel.git ATM: solos-pci, remove use after free Stanse found we do in console_show: kfree_skb(skb); return skb->len; which is not good. Fix that by remembering the len and use it in the function instead. Signed-off-by: Jiri Slaby Cc: Chas Williams Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed