diff options
author | Eric Dumazet <edumazet@google.com> | 2013-12-19 10:53:02 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-15 15:28:48 -0800 |
commit | cf3daa7cbcf9ac14a7549239d7ff3464138a79c8 (patch) | |
tree | beb03156cfedbf1146bd8f681ddb017dd3ff67e3 /net | |
parent | 8f3843be6e6d1fcc5bcdad42b569a5d4797d9d1f (diff) | |
download | linux-3.10-cf3daa7cbcf9ac14a7549239d7ff3464138a79c8.tar.gz linux-3.10-cf3daa7cbcf9ac14a7549239d7ff3464138a79c8.tar.bz2 linux-3.10-cf3daa7cbcf9ac14a7549239d7ff3464138a79c8.zip |
net: fec: fix potential use after free
[ Upstream commit 7a2a84518cfb263d2c4171b3d63671f88316adb2 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions