diff options
author | Eric Dumazet <edumazet@google.com> | 2013-12-19 10:53:02 -0800 |
---|---|---|
committer | Frank Li <Frank.Li@freescale.com> | 2013-12-20 22:12:34 +0800 |
commit | 5cdc6210832b02ccebd325819ff27ca0479e7562 (patch) | |
tree | 47440612f2aaad1df7777bfc3d3f51c569203d97 /drivers/clk/clk-vt8500.c | |
parent | 469caf8548a6e22b24623414d8b0df78ff46b990 (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 'drivers/clk/clk-vt8500.c')
0 files changed, 0 insertions, 0 deletions