Searched hist:fe2dafa02de4f80ab36f6e0f4ddfcd6418c03c49 (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/net/ |
H A D | virtio-net.c | diff fe2dafa02de4f80ab36f6e0f4ddfcd6418c03c49 Wed Nov 06 02:58:08 CST 2013 Jason Wang <jasowang@redhat.com> 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>
|