From: Eric Dumazet Date: Tue, 2 Dec 2014 12:30:59 +0000 (-0800) Subject: net: mvneta: fix race condition in mvneta_tx() X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~10^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f478b41033606d325e420df693162e2524c2b94;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed