summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorEric Dumazet2013-12-19 19:53:02 +0100
committerDavid S. Miller2013-12-20 00:03:25 +0100
commit7a2a84518cfb263d2c4171b3d63671f88316adb2 (patch)
tree99ab1fb5d7948c8d959032232fc546928703b62e /net/ipv6
parentbnx2x: downgrade "valid ME register value" message level (diff)
downloadkernel-qcow2-linux-7a2a84518cfb263d2c4171b3d63671f88316adb2.tar.gz
kernel-qcow2-linux-7a2a84518cfb263d2c4171b3d63671f88316adb2.tar.xz
kernel-qcow2-linux-7a2a84518cfb263d2c4171b3d63671f88316adb2.zip
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/ipv6')
0 files changed, 0 insertions, 0 deletions