]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
virtio: fix net driver loop case where we fail to restart
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 19 Nov 2007 16:20:43 +0000 (11:20 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 19 Nov 2007 00:20:44 +0000 (11:20 +1100)
commit8329d98e480250ef5f5a083f9c3af50510b5e65d
tree183f79256e8c37cbc68ea115174f390e99120a77
parent9a4b9708f1f2eaf5edd619df578cf3afec36eb82
virtio: fix net driver loop case where we fail to restart

skb is only NULL the first time around: it's more correct to test for
being under-budget.

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