From 067404be626d03656788adb7deff8072ca84299f Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Fri, 2 Aug 2013 21:47:08 +0200 Subject: 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 Signed-off-by: Stefan Hajnoczi --- net/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/hub.c') 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; -- cgit v1.2.1