Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtio-net: fix data corruption with OOM
virtio net used to unlink skbs from send queues on error, but ever since 48925e3 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>
- Loading branch information