summaryrefslogtreecommitdiffstats
path: root/hw/pci.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin2010-10-27 20:03:43 +0200
committerMichael S. Tsirkin2010-11-04 14:10:03 +0100
commit54cdaa1bad3885448ef39faad93d40be3b223519 (patch)
treefe57c8065c292b73e7dcd9008423d515fb973cbf /hw/pci.c
parentFold send_all() wrapper unix_write() into one function (diff)
downloadqemu-54cdaa1bad3885448ef39faad93d40be3b223519.tar.gz
qemu-54cdaa1bad3885448ef39faad93d40be3b223519.tar.xz
qemu-54cdaa1bad3885448ef39faad93d40be3b223519.zip
tap: clear vhost_net backend on cleanup
Frontends calling tap_get_vhost_net get an invalid pointer after the peer backend has been deleted. Jason Wang <jasowang@redhat.com> reports this leading to a crash in ack_features when we remove the vhost-net bakend of a virtio nic. The fix is simply to clear the backend pointer. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.c')
0 files changed, 0 insertions, 0 deletions