summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-12-19 10:53:02 -0800
committerFrank Li <Frank.Li@freescale.com>2013-12-20 22:12:34 +0800
commit5cdc6210832b02ccebd325819ff27ca0479e7562 (patch)
tree47440612f2aaad1df7777bfc3d3f51c569203d97 /include
parent469caf8548a6e22b24623414d8b0df78ff46b990 (diff)
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 'include')
0 files changed, 0 insertions, 0 deletions