]> git.proxmox.com Git - mirror_qemu.git/commit - net.c
net: add qemu_purge_queued_packets()
authorMark McLoughlin <markmc@redhat.com>
Thu, 18 Jun 2009 17:21:29 +0000 (18:21 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 22 Jun 2009 15:15:30 +0000 (10:15 -0500)
commit8cad55161c98b95deacdb9c1a66980f5b24d3179
treea04068a9130c6df2bc6a43367737cd38e399ed20
parent08b9d66b96f7afe77448e73882281586680a58c6
net: add qemu_purge_queued_packets()

If net client sends packets asynchronously, it needs to purge its queued
packets in cleanup() so as to prevent sent callbacks being invoked with
a freed client.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c
net.h