[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 4/6] net: remove the wrong comment in net_init_hubpor
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PULL 4/6] net: remove the wrong comment in net_init_hubport() |
Date: |
Fri, 6 Feb 2015 14:10:50 +0000 |
From: Jason Wang <address@hidden>
Not only nic could be the one to peer.
Signed-off-by: Jason Wang <address@hidden>
Message-id: address@hidden
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
net/hub.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/hub.c b/net/hub.c
index ef09d5f..2b60ab9 100644
--- a/net/hub.c
+++ b/net/hub.c
@@ -288,7 +288,6 @@ int net_init_hubport(const NetClientOptions *opts, const
char *name,
assert(opts->kind == NET_CLIENT_OPTIONS_KIND_HUBPORT);
hubport = opts->hubport;
- /* Treat hub port like a backend, NIC must be the one to peer */
if (peer) {
return -EINVAL;
}
--
2.1.0
- [Qemu-devel] [PULL 0/6] Net patches, Stefan Hajnoczi, 2015/02/06
- [Qemu-devel] [PULL 1/6] MAINTAINERS: add Jason Wang as net subsystem maintainer, Stefan Hajnoczi, 2015/02/06
- [Qemu-devel] [PULL 2/6] rtl8139: simplify timer logic, Stefan Hajnoczi, 2015/02/06
- [Qemu-devel] [PULL 3/6] monitor: print hub port name during info network, Stefan Hajnoczi, 2015/02/06
- [Qemu-devel] [PULL 4/6] net: remove the wrong comment in net_init_hubport(),
Stefan Hajnoczi <=
- [Qemu-devel] [PULL 5/6] net: del hub port when peer is deleted, Stefan Hajnoczi, 2015/02/06
- [Qemu-devel] [PULL 6/6] monitor: more accurate completion for host_net_remove(), Stefan Hajnoczi, 2015/02/06
- Re: [Qemu-devel] [PULL 0/6] Net patches, Peter Maydell, 2015/02/06