[Devel] [PATCH RHEL10 COMMIT] fixup! ve: Link net and ve_struct
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Jun 5 21:31:55 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 98c1a65d54dcbb3f3e1fb63518eb6eca664e791d
Author: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
Date: Tue Jun 2 21:10:19 2026 +0000
fixup! ve: Link net and ve_struct
There is a big number of net->owner_ve, that are not covered by
ifdef guard, so it is actually easier to have this field
when !CONFIG_VE and store NULL there.
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>
---
include/net/net_namespace.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index dd0edb96f0eea..5cf615b03da0a 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -120,9 +120,7 @@ struct net {
struct net_device *loopback_dev; /* The loopback */
-#ifdef CONFIG_VE
struct ve_struct *owner_ve;
-#endif
/* core fib_rules */
struct list_head rules_ops;
More information about the Devel
mailing list