summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-12-19 10:53:02 -0800
committerDavid S. Miller <davem@davemloft.net>2013-12-19 18:03:25 -0500
commit7a2a84518cfb263d2c4171b3d63671f88316adb2 (patch)
tree99ab1fb5d7948c8d959032232fc546928703b62e /net
parentc047e0707307717818542c939223fc8ca454e2c9 (diff)
downloadlinux-7a2a84518cfb263d2c4171b3d63671f88316adb2.tar.bz2
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 <edumazet@google.com> Fixes: de5fb0a05348 ("net: fec: put tx to napi poll function to fix dead lock") Cc: Frank Li <Frank.Li@freescale.com> Cc: Richard Cochran <richardcochran@gmail.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Acked-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions