The commit is pushed to "branch-rh7-3.10.0-327.3.1-vz7.10.x-ovz" and will
appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-327.3.1.vz7.10.3
------>
commit dc455e3657df22343ab648c821f0ee47856165f7
Author: Vasily Averin <[email protected]>
Date: Sat Jan 23 18:12:54 2016 +0400
ve/net/dummy: enable support in a container
This patch enables dummy network devices support in a container.
https://jira.sw.ru/browse/PSBM-43329
Signed-off-by: Vasily Averin <[email protected]>
khorenko@: JFYI: up to now it's required by ltp test only
(containers.netns_sysfs testcase).
---
drivers/net/dummy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/dummy.c b/drivers/net/dummy.c
index 36a0b0d..56c8bfd 100644
--- a/drivers/net/dummy.c
+++ b/drivers/net/dummy.c
@@ -135,6 +135,7 @@ static void dummy_setup(struct net_device *dev)
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
dev->features |= NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_TSO;
dev->features |= NETIF_F_HW_CSUM | NETIF_F_HIGHDMA | NETIF_F_LLTX;
+ dev->features |= NETIF_F_VIRTUAL;
eth_hw_addr_random(dev);
}
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel