diff options
author | Sergey Fedorov <s.fedorov@samsung.com> | 2013-11-05 10:54:29 +0400 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-11-08 17:32:34 +0100 |
commit | 1597591cca8a8fa20b8872937b859ec2aaccba6c (patch) | |
tree | 472f8750b67a644bf62c84eb36944e7fc05b8031 /net/net.c | |
parent | d60b20cf2ae6644b05159b9361cba83fb6c0cb84 (diff) |
net: fix qemu_flush_queued_packets() in presence of a hub
Do not return after net_hub_flush(). Always flush callee network client
incoming queue.
Signed-off-by: Sergey Fedorov <s.fedorov@samsung.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'net/net.c')
-rw-r--r-- | net/net.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -443,7 +443,6 @@ void qemu_flush_queued_packets(NetClientState *nc) if (net_hub_flush(nc->peer)) { qemu_notify_event(); } - return; } if (qemu_net_queue_flush(nc->incoming_queue)) { /* We emptied the queue successfully, signal to the IO thread to repoll |