[Devel] [PATCH RH9 05/11] ve/net/ip_gre: containerize per-net devices
Alexander Mikhalitsyn
alexander.mikhalitsyn at virtuozzo.com
Thu Sep 23 18:02:29 MSK 2021
From: Kirill Tkhai <ktkhai at odin.com>
Port patch diff-ve-net-ip_gre-containerize-per-net-devices from 2.6.32:
This patch adds IP GRE devices support in a container.
Done in the scope of
https://jira.sw.ru/browse/PSBM-24331
Signed-off-by: Kirill Tkhai <ktkhai at odin.com>
Signed-off-by: Stanislav Kinsbursky <skinsbursky at parallels.com>
https://jira.sw.ru/browse/PSBM-133986
(cherry picked from commit bf0bdec95ab1d3b18ccc43e05b01109e4db97c46)
Signed-off-by: Alexander Mikhalitsyn <alexander.mikhalitsyn at virtuozzo.com>
---
net/ipv4/ip_gre.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c
index 95419b7adf5c..87a682b57dff 100644
--- a/net/ipv4/ip_gre.c
+++ b/net/ipv4/ip_gre.c
@@ -974,6 +974,7 @@ static void __gre_tunnel_init(struct net_device *dev)
*/
dev->features |= NETIF_F_LLTX;
}
+ dev->features |= NETIF_F_VIRTUAL;
}
static int ipgre_tunnel_init(struct net_device *dev)
--
2.31.1
More information about the Devel
mailing list