linux/drivers/vhost
Michael S. Tsirkin c047e5f317 vhost-net: update used ring on backend change
On backend change, we flushed out outstanding skbs
but forgot to update the used ring, so that
done entries were left in the ubuf_info ring.
As a result we lose heads or complete incorrect ones,
crashing the guest or leaking memory.
Fix by updating the used ring.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2011-07-21 10:23:31 +03:00
..
Kconfig net/macvtap: add vhost support 2010-02-18 14:08:38 -08:00
Makefile vhost_net: a kernel-level virtio server 2010-01-15 01:43:29 -08:00
net.c vhost-net: update used ring on backend change 2011-07-21 10:23:31 +03:00
test.c vhost: init used ring after backend was set 2011-07-19 13:28:34 +03:00
test.h vhost test module 2010-12-09 16:00:21 +02:00
vhost.c vhost: optimize interrupt enable/disable 2011-07-19 17:17:28 +03:00
vhost.h vhost: init used ring after backend was set 2011-07-19 13:28:34 +03:00