Commit da47796c authored by Dong Chenchen's avatar Dong Chenchen
Browse files

net: Fix kabi breakage in struct net

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: default avatarDong Chenchen <dongchenchen2@huawei.com>
parent 4846f9df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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