
hulk inclusion category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBPBKJ CVE: CVE-2024-57982 -------------------------------- Fix kabi broken in struct netns_xfrm. Fixes: e88add19f681 ("net: xfrm: Localize sequence counter per network namespace") Signed-off-by: Wang Liang <wangliang74@huawei.com> --- include/net/netns/xfrm.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h index 96e603443796..9a04e2f2076e 100644 --- a/include/net/netns/xfrm.h +++ b/include/net/netns/xfrm.h @@ -69,12 +69,15 @@ struct netns_xfrm { struct ctl_table_header *sysctl_hdr; #endif +#ifndef __GENKSYMS__ + seqcount_t xfrm_state_hash_generation; +#endif + struct dst_ops xfrm4_dst_ops; #if IS_ENABLED(CONFIG_IPV6) struct dst_ops xfrm6_dst_ops; #endif spinlock_t xfrm_state_lock; - seqcount_t xfrm_state_hash_generation; spinlock_t xfrm_policy_lock; struct mutex xfrm_cfg_mutex; -- 2.34.1