summaryrefslogtreecommitdiff
path: root/net/hub.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2013-08-02 21:47:08 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-09-06 17:01:26 +0200
commit067404be626d03656788adb7deff8072ca84299f (patch)
tree8f2bbf5990c1340473ea94d206d29a6660332ebd /net/hub.c
parentaa4f082f7526d39dac8e2ca64d192d858014ee10 (diff)
downloadqemu-067404be626d03656788adb7deff8072ca84299f.tar.gz
net: Rename send_queue to incoming_queue
Each networking client has a queue for packets that could not yet be delivered to that client. Calling this queue "send_queue" is highly confusing as it has nothing to to with packets send from this client but to it. Avoid this confusing by renaming it to "incoming_queue". Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'net/hub.c')
-rw-r--r--net/hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/hub.c b/net/hub.c
index df32074de0..33a99c99ef 100644
--- a/net/hub.c
+++ b/net/hub.c
@@ -347,7 +347,7 @@ bool net_hub_flush(NetClientState *nc)
QLIST_FOREACH(port, &source_port->hub->ports, next) {
if (port != source_port) {
- ret += qemu_net_queue_flush(port->nc.send_queue);
+ ret += qemu_net_queue_flush(port->nc.incoming_queue);
}
}
return ret ? true : false;