virtio: free transmit skbs when notified, not on next xmit.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 5 Feb 2008 04:50:07 +0000 (23:50 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Feb 2008 12:50:08 +0000 (23:50 +1100)
commit2cb9c6bafc58cf4066cb15f0ac6989a1015a02cc
tree5a81ecc2d80724054d2b8f5679a58e1d42e9322a
parenta48bd8f67003c342e147309a331f656a5e75a5e4
virtio: free transmit skbs when notified, not on next xmit.

This fixes a potential dangling xmit problem.

We also suppress refill interrupts until we need them.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/net/virtio_net.c