[Devel] [PATCH RHEL COMMIT] ve/net/ip_gre: containerize per-net devices
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Sep 24 14:50:19 MSK 2021
The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after ark-5.14
------>
commit ff9c009d1a94dc50625a481b2f62521bb862e2da
Author: Kirill Tkhai <ktkhai at odin.com>
Date: Fri Sep 24 14:50:19 2021 +0300
ve/net/ip_gre: containerize per-net devices
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)
More information about the Devel
mailing list