net: fix qemu_flush_queued_packets() in presence of a hub
commit1597591cca8a8fa20b8872937b859ec2aaccba6c
authorSergey Fedorov <s.fedorov@samsung.com>
Tue, 5 Nov 2013 06:54:29 +0000 (5 10:54 +0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 8 Nov 2013 16:32:34 +0000 (8 17:32 +0100)
tree472f8750b67a644bf62c84eb36944e7fc05b8031
parentd60b20cf2ae6644b05159b9361cba83fb6c0cb84
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>
net/net.c