[Devel] [PATCH RHEL10 COMMIT] fixup! net/ip6ip: Consider VE_FEATURE_IPIP on new net creation

Konstantin Khorenko khorenko at virtuozzo.com
Fri Jun 5 21:32:21 MSK 2026


The commit is pushed to "branch-rh10-6.12.0-55.52.1.5.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-55.52.1.5.29.vz10
------>
commit b06b1dba4ac5385b7a872d7bb5c23ae56daa692b
Author: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
Date:   Tue Jun 2 21:10:50 2026 +0000

    fixup! net/ip6ip: Consider VE_FEATURE_IPIP on new net creation
    
    warning: "CONFIG_VE" is not defined, evaluates to 0.
    
    https://virtuozzo.atlassian.net/browse/VSTOR-130116
    
    Feature: !CONFIG_VE build
    Signed-off-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
    Reviewed-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
---
 net/ipv6/ip6_tunnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c
index aad799d9c804a..7ffc1b9659867 100644
--- a/net/ipv6/ip6_tunnel.c
+++ b/net/ipv6/ip6_tunnel.c
@@ -123,7 +123,7 @@ ip6_tnl_lookup(struct net *net, int link,
 	struct ip6_tnl_net *ip6n = net_generic(net, ip6_tnl_net_id);
 	struct in6_addr any;
 
-#if CONFIG_VE
+#ifdef CONFIG_VE
 	if (!ip6n) /* no VE_FEATURE_IPIP */
 		return NULL;
 #endif


More information about the Devel mailing list