qemu/hw/net
Jason Wang fe2dafa02d virtio-net: only delete bh that existed
We delete without check whether it existed during exit. This will lead NULL
pointer deference since it was created conditionally depends on guest driver
status and features. So add a check of existence before trying to delete it.

Cc: qemu-stable@nongnu.org
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 1383728288-28469-1-git-send-email-jasowang@redhat.com
Signed-off-by: Anthony Liguori <aliguori@amazon.com>
2013-11-06 21:46:13 -08:00
..
cadence_gem.c cadence_gem: QOM cast cleanup 2013-07-29 21:06:59 +02:00
dp8393x.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
e1000_regs.h
e1000.c bswap.h: Remove cpu_to_be32wu() 2013-11-05 19:57:47 -08:00
eepro100.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
etraxfs_eth.c etraxfs_eth: Rename fs_eth to ETRAXFSEthState 2013-07-29 21:06:59 +02:00
lan9118.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
lance.c lance: QOM cast cleanup 2013-07-29 21:06:59 +02:00
Makefile.objs
mcf_fec.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
milkymist-minimac2.c milkymist-minimac2: QOM cast cleanup 2013-07-29 21:06:59 +02:00
mipsnet.c mipsnet: QOM cast cleanup 2013-07-29 21:07:02 +02:00
ne2000-isa.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
ne2000.c bswap.h: Remove le32_to_cpupu() 2013-11-05 19:57:46 -08:00
ne2000.h ne2000: pass device to ne2000_setup_io, use it as owner 2013-07-04 17:42:46 +02:00
opencores_eth.c opencores_eth: QOM cast cleanup 2013-07-29 21:07:02 +02:00
pcnet-pci.c pci, pc, acpi fixes, enhancements 2013-10-31 16:58:32 +01:00
pcnet.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
pcnet.h
rtl8139.c pci, pc, acpi fixes, enhancements 2013-10-31 16:58:32 +01:00
smc91c111.c smc91c111: QOM cast cleanup 2013-07-29 21:06:59 +02:00
spapr_llan.c spapr: Rename 'dprintf' to 'DPRINTF' 2013-07-29 19:56:46 -05:00
stellaris_enet.c stellaris_enet: Fix NetClientInfo::cleanup 2013-07-29 21:06:59 +02:00
vhost_net.c virtio: remove virtiobindings. 2013-04-24 11:50:20 -05:00
virtio-net.c virtio-net: only delete bh that existed 2013-11-06 21:46:13 -08:00
vmware_utils.h
vmxnet3.c hw/vmxnet3: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
vmxnet3.h vmxnet3: Eliminate __packed redefined warning 2013-09-06 17:25:55 +02:00
vmxnet_debug.h
vmxnet_rx_pkt.c
vmxnet_rx_pkt.h
vmxnet_tx_pkt.c misc: Use g_assert_not_reached for code which is expected to be unreachable 2013-07-27 11:22:54 +04:00
vmxnet_tx_pkt.h
xen_nic.c
xgmac.c xgmac: QOM cast cleanup 2013-07-29 21:07:00 +02:00
xilinx_axienet.c qom: Pass available size to object_initialize() 2013-08-30 21:15:44 +02:00
xilinx_ethlite.c xilinx_ethlite: QOM cast cleanup 2013-07-29 21:07:00 +02:00