Re: [PATCH 1/2] virtio: fix net driver loop case where we fail to restart

2007-11-19 Thread Simon Horman
On Mon, Nov 19, 2007 at 11:20:15AM +1100, Rusty Russell wrote: skb is only NULL the first time around: it's more correct to test for being under-budget. Signed-off-by: Rusty Russell [EMAIL PROTECTED] That looks better to me. Acked-by: Simon Horman [EMAIL PROTECTED] diff -r 2a94425ac7d5

[PATCH 1/2] virtio: fix net driver loop case where we fail to restart

2007-11-18 Thread Rusty Russell
skb is only NULL the first time around: it's more correct to test for being under-budget. Signed-off-by: Rusty Russell [EMAIL PROTECTED] diff -r 2a94425ac7d5 drivers/net/virtio_net.c --- a/drivers/net/virtio_net.c Thu Nov 15 13:47:28 2007 +1100 +++ b/drivers/net/virtio_net.c Thu Nov 15