Files
kernel_amazon_mt8127-common/drivers
Eric Dumazet cf3daa7cbc 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: de5fb0a053 ("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>
2014-01-15 15:28:48 -08:00
..
2013-12-08 07:29:25 -08:00
2013-12-04 10:57:19 -08:00
2014-01-09 12:24:21 -08:00
2014-01-09 12:24:22 -08:00
2013-12-20 07:45:11 -08:00
2013-12-11 22:36:28 -08:00
2014-01-09 12:24:20 -08:00
2013-12-20 07:45:11 -08:00