Unverified Commit 52a7f2e9 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!14224 net/kabi: Reserve space for net structures

parents 0705dae8 a2bbb3a7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -46,6 +46,8 @@ struct flowi_common {

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

union flowi_uli {
+2 −0
Original line number Diff line number Diff line
@@ -34,5 +34,7 @@ struct netns_nf {

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};
#endif
+2 −0
Original line number Diff line number Diff line
@@ -87,6 +87,8 @@ struct netns_xfrm {

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

#endif
+4 −0
Original line number Diff line number Diff line
@@ -294,6 +294,8 @@ struct xfrm_state {

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

static inline struct net *xs_net(struct xfrm_state *x)
@@ -562,6 +564,8 @@ struct xfrm_policy {

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

static inline struct net *xp_net(const struct xfrm_policy *xp)