From: Kirill Tkhai <ktk...@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 <ktk...@odin.com> Signed-off-by: Stanislav Kinsbursky <skinsbur...@parallels.com> https://jira.sw.ru/browse/PSBM-133986 (cherry picked from commit bf0bdec95ab1d3b18ccc43e05b01109e4db97c46) Signed-off-by: Alexander Mikhalitsyn <alexander.mikhalit...@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 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel