commit | 5f478b41033606d325e420df693162e2524c2b94 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Tue Dec 02 04:30:59 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 08 20:55:36 2014 -0500 |
tree | 0ed69fd5adca03e94ad27abdd6d09c411ce4004b | |
parent | aebea2ba0f7495e1a1c9ea5e753d146cb2f6b845 [diff] |
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>