kernel-ark/drivers/vhost
Michael S. Tsirkin 288cfe78c8 vhost: fix ubuf_info cleanup
vhost_net_clear_ubuf_info didn't clear ubuf_info
after kfree, this could trigger double free.
Fix this and simplify this code to make it more robust: make sure
ubuf info is always freed through vhost_net_clear_ubuf_info.

Reported-by: Tommi Rantala <tt.rantala@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-06-11 02:46:21 -07:00
..
Kconfig Lots of virtio work which wasn't quite ready for last merge window. Plus 2013-05-02 14:14:04 -07:00
Makefile Lots of virtio work which wasn't quite ready for last merge window. Plus 2013-05-02 14:14:04 -07:00
net.c vhost: fix ubuf_info cleanup 2013-06-11 02:46:21 -07:00
scsi.c vhost-scsi: Enable VIRTIO_RING_F_EVENT_IDX 2013-05-07 11:11:08 +03:00
test.c Lots of virtio work which wasn't quite ready for last merge window. Plus 2013-05-02 14:14:04 -07:00
test.h vhost test module 2010-12-09 16:00:21 +02:00
vhost.c vhost: check owner before we overwrite ubuf_info 2013-06-11 02:46:21 -07:00
vhost.h vhost: check owner before we overwrite ubuf_info 2013-06-11 02:46:21 -07:00
vringh.c Add missing module license tag to vring helpers. 2013-05-08 10:49:03 +09:30