-
- Downloads
Don't leak VLANClientState on PCI hot remove
destroy_nic() requires that NICInfo::private by a PCIDevice pointer, but then goes on to require that the same pointer matches VLANClientState::opaque. That is no longer the case for virtio-net since qdev and wasn't previously the case for rtl8139, ne2k_pci or eepro100. Make the situation a lot more clear by maintaining a VLANClientState pointer in NICInfo. Signed-off-by:Mark McLoughlin <markmc@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
Showing
- hw/device-hotplug.c 1 addition, 6 deletionshw/device-hotplug.c
- hw/etraxfs_eth.c 3 additions, 3 deletionshw/etraxfs_eth.c
- hw/mcf_fec.c 3 additions, 3 deletionshw/mcf_fec.c
- hw/mipsnet.c 4 additions, 3 deletionshw/mipsnet.c
- hw/ne2000.c 3 additions, 3 deletionshw/ne2000.c
- hw/usb-net.c 4 additions, 4 deletionshw/usb-net.c
- net.h 1 addition, 0 deletionsnet.h
Loading
Please register or sign in to comment