
hulk inclusion category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBEAMS CVE: CVE-2024-56658 -------------------------------- Fix kabi breakage in struct net. Fixes: 0f6ede9fbc74 ("net: defer final 'struct net' free in netns dismantle") Signed-off-by: Dong Chenchen <dongchenchen2@huawei.com> --- include/net/net_namespace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index 958c805df191..00de28c70da6 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h @@ -75,6 +75,7 @@ struct net { spinlock_t nsid_lock; atomic_t fnhe_genid; + KABI_FILL_HOLE(struct llist_node defer_free_list) struct list_head list; /* list of network namespaces */ struct list_head exit_list; /* To linked to call pernet exit * methods on dead net ( @@ -82,7 +83,6 @@ struct net { * or to unregister pernet ops * (pernet_ops_rwsem write locked). */ - struct llist_node defer_free_list; struct llist_node cleanup_list; /* namespaces on death row */ #ifdef CONFIG_KEYS -- 2.25.1