]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
virtio: fix delayed xmit of packet and freeing of old packets.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 26 May 2008 07:48:13 +0000 (17:48 +1000)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 31 May 2008 02:07:21 +0000 (22:07 -0400)
commit11a3a1546d0adc36485c2ad4af7ab950712df6ff
tree337c1e4448c3999d739c91d2eefc9c7783d8cef1
parent7eb2e25112bf920bb0a4d1cca445f3d96874c25f
virtio: fix delayed xmit of packet and freeing of old packets.

Because we cache the last failed-to-xmit packet, if there are no
packets queued behind that one we may never send it (reproduced here
as TCP stalls, "cured" by an outgoing ping).

Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/virtio_net.c