diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2013-12-19 18:10:40 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-27 13:00:31 -0500 |
commit | 37ec274e9713eafc2ba6c4471420f06cb8f68ecf (patch) | |
tree | 17ed7f410dcac72c1739e26bb01e957d2b8568ed /include/linux/skbuff.h | |
parent | 375679104ab3ccfd18dcbd7ba503734fb9a2c63a (diff) |
arc_emac: fix potential use after free
Signed-off-by: Eric Dumazet <edumazet@google.com>
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.
Fixes: e4f2379db6c6 ("ethernet/arc/arc_emac - Add new driver")
From: Eric Dumazet <edumazet@google.com>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
0 files changed, 0 insertions, 0 deletions