diff options
author | Eric Dumazet <edumazet@google.com> | 2014-12-02 04:30:59 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-12-16 09:37:11 -0800 |
commit | 14de991db18a160a5a67a3cbd14cc71a53a40784 (patch) | |
tree | 897e0e3cbc31e8728c851a1f2740b51f856fba59 /net/sctp/output.c | |
parent | f7bf1abd2eae146f72a7e66ccb0e82e358ba552a (diff) |
net: mvneta: fix race condition in mvneta_tx()
[ Upstream commit 5f478b41033606d325e420df693162e2524c2b94 ]
mvneta_tx() dereferences skb to get skb->len too late,
as hardware might have completed the transmit and TX completion
could have freed the skb from another cpu.
Fixes: 71f6d1b31fb1 ("net: mvneta: replace Tx timer with a real interrupt")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sctp/output.c')
0 files changed, 0 insertions, 0 deletions