Searched hist:"43849424 cff82803011fad21074531a1101e514e" (Results 1 – 1 of 1) sorted by relevance
/qemu/net/ |
H A D | tap.c | 43849424cff82803011fad21074531a1101e514e Wed Oct 27 18:03:43 UTC 2010 Michael S. Tsirkin <mst@redhat.com> 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>
|