summaryrefslogtreecommitdiff
path: root/include/net/ip_fib.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2014-12-02 15:30:59 +0300
committerDavid S. Miller <davem@davemloft.net>2014-12-09 04:55:36 +0300
commit5f478b41033606d325e420df693162e2524c2b94 (patch)
tree0ed69fd5adca03e94ad27abdd6d09c411ce4004b /include/net/ip_fib.h
parentaebea2ba0f7495e1a1c9ea5e753d146cb2f6b845 (diff)
downloadlinux-5f478b41033606d325e420df693162e2524c2b94.tar.xz
net: mvneta: fix race condition in mvneta_tx()
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>
Diffstat (limited to 'include/net/ip_fib.h')
0 files changed, 0 insertions, 0 deletions