From: Eric Dumazet Date: Thu, 19 Dec 2013 18:53:02 +0000 (-0800) Subject: net: fec: fix potential use after free X-Git-Tag: v3.13-rc7~13^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a2a84518cfb263d2c4171b3d63671f88316adb2;p=pandora-kernel.git net: fec: fix potential use after free skb_tx_timestamp(skb) should be called _before_ TX completion has a chance to trigger, otherwise it is too late and we access freed memory. Signed-off-by: Eric Dumazet Fixes: de5fb0a05348 ("net: fec: put tx to napi poll function to fix dead lock") Cc: Frank Li Cc: Richard Cochran Acked-by: Richard Cochran Acked-by: Frank Li Signed-off-by: David S. Miller --- Reading git-diff-tree failed