diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2013-12-20 02:10:40 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-15 23:31:36 (GMT) |
commit | e05c2d9cd720263a89de93a02cae69b73af5eb57 (patch) | |
tree | a3f1c9d1db5fb604dd9707128063d7d9271362c3 /Documentation/DocBook/device-drivers.tmpl | |
parent | aca33677723eb132dd91a30c4f8ac15f01be27c8 (diff) | |
download | linux-fsl-qoriq-e05c2d9cd720263a89de93a02cae69b73af5eb57.tar.xz |
arc_emac: fix potential use after free
[ Upstream commit 37ec274e9713eafc2ba6c4471420f06cb8f68ecf ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/DocBook/device-drivers.tmpl')
0 files changed, 0 insertions, 0 deletions