Offering: HULK hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8MNNN CVE: NA
--------------------------------
Fix kabi broken in struct netns_xfrm.
Signed-off-by: Dong Chenchen dongchenchen2@huawei.com --- include/net/netns/xfrm.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h index e3775b260bb3..55a1f26d9a8b 100644 --- a/include/net/netns/xfrm.h +++ b/include/net/netns/xfrm.h @@ -48,7 +48,9 @@ struct netns_xfrm { struct list_head policy_all; struct hlist_head *policy_byidx; unsigned int policy_idx_hmask; +#ifndef __GENKSYMS__ unsigned int idx_generator; +#endif struct hlist_head policy_inexact[XFRM_POLICY_MAX]; struct xfrm_policy_hash policy_bydst[XFRM_POLICY_MAX]; unsigned int policy_count[XFRM_POLICY_MAX * 2];