qemu/net
Michael S. Tsirkin 43849424cf 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>
2010-11-16 08:40:07 -06:00
..
checksum.c
checksum.h
dump.c error: Replace qemu_error() by error_report() 2010-03-16 16:58:32 +01:00
dump.h net: move dump backend code from net.c to net/dump.c 2009-12-03 09:41:28 -06:00
queue.c net/queue: queue packets even if sender doesn't supply a callback 2009-11-09 08:43:02 -06:00
queue.h
slirp.c error: Replace qemu_error() by error_report() 2010-03-16 16:58:32 +01:00
slirp.h net: move slirp code from net.c to net/slirp.c 2009-12-03 09:41:27 -06:00
socket.c error: Replace qemu_error() by error_report() 2010-03-16 16:58:32 +01:00
socket.h net: move socket backend code from net.c to net/socket.c 2009-12-03 09:41:28 -06:00
tap-aix.c tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-bsd.c tap: Remove double include of util.h 2010-09-29 16:15:37 +00:00
tap-haiku.c tap: Add stub for Haiku 2010-10-03 06:31:41 +00:00
tap-linux.c tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-linux.h tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-solaris.c tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-win32.c Delete write only variables 2010-10-13 18:41:29 +00:00
tap.c tap: clear vhost_net backend on cleanup 2010-11-16 08:40:07 -06:00
tap.h tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
util.c net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
util.h net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
vde.c net: Fix bogus "Warning: vlan 0 with no nics" with -device 2010-02-19 12:12:46 -06:00
vde.h net: move vde code from net.c to net/vde.c 2009-12-03 09:41:28 -06:00