mv643xx_eth: fix race in trasmit path.
commit73151ce35bd6d56e61a87b2855193f82540bf3d3
authorRichard Cochran <richard.cochran@omicron.at>
Tue, 21 Jun 2011 23:00:24 +0000 (21 16:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2011 23:00:24 +0000 (21 16:00 -0700)
treeb2e1a78176025614b0a130b3ddaf37bbcc49177a
parente00f85bec0a9924eb517ccd126ddbb9787068f53
mv643xx_eth: fix race in trasmit path.

Because the socket buffer is freed in the completion interrupt, it is not
safe to access it after submitting it to the hardware.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mv643xx_eth.c