mirror of https://gitee.com/openkylin/qemu.git
net: purge queued packets in tap_cleanup()
If tap has any packets queued at host_net_remove time, it needs to purge them in order to prevent a sent callback being invoked for it. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
8cad55161c
commit
b9adce2c83
Loading…
Reference in New Issue