remarkable-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
Makefile
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