Re: [PATCH] virtio-net: free bufs correctly on invalid packet length

2013-12-05 Thread Michael Dalton
Thanks Sergei, Yes this is a similar bugfix, the patch I saw from Andrey fixed this issue in free_unused_bufs. The problem also occurs when dropping a packet that is too short. Apologies for forgetting to sign off on the patch, I will re-send. Best, Mike

Re: [PATCH] virtio-net: free bufs correctly on invalid packet length

2013-12-05 Thread Sergei Shtylyov
Hello. On 12/05/2013 11:16 PM, Michael Dalton wrote: When a packet with invalid length arrives, ensure that the packet is freed correctly if mergeable packet buffers and big packets (GUEST_TSO4) are both enabled. Looks like a similar patch have been posted by Andrey Vagin today. You also

[PATCH] virtio-net: free bufs correctly on invalid packet length

2013-12-05 Thread Michael Dalton
When a packet with invalid length arrives, ensure that the packet is freed correctly if mergeable packet buffers and big packets (GUEST_TSO4) are both enabled. --- drivers/net/virtio_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/