Home
last modified time | relevance | path

Searched hist:"03 f191bab77c0148e458dbbd0a37241be2a2faf9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dvirtio_net.cdiff 03f191bab77c0148e458dbbd0a37241be2a2faf9 Wed Oct 28 06:03:38 CDT 2009 Michael S. Tsirkin <mst@redhat.com> virtio-net: fix data corruption with OOM

virtio net used to unlink skbs from send queues on error,
but ever since 48925e372f04f5e35fec6269127c62b2c71ab794
we do not do this. This causes guest data corruption and crashes
with vhost since net core can requeue the skb or free it without
it being taken off the list.

This patch fixes this by queueing the skb after successful
transmit.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>