diff options
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r-- | include/net/xfrm.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index dc4865e90fe4..d0ac7d7be8a7 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -126,9 +126,7 @@ struct xfrm_state_walk { | |||
126 | 126 | ||
127 | /* Full description of state of transformer. */ | 127 | /* Full description of state of transformer. */ |
128 | struct xfrm_state { | 128 | struct xfrm_state { |
129 | #ifdef CONFIG_NET_NS | 129 | possible_net_t xs_net; |
130 | struct net *xs_net; | ||
131 | #endif | ||
132 | union { | 130 | union { |
133 | struct hlist_node gclist; | 131 | struct hlist_node gclist; |
134 | struct hlist_node bydst; | 132 | struct hlist_node bydst; |
@@ -522,9 +520,7 @@ struct xfrm_policy_queue { | |||
522 | }; | 520 | }; |
523 | 521 | ||
524 | struct xfrm_policy { | 522 | struct xfrm_policy { |
525 | #ifdef CONFIG_NET_NS | 523 | possible_net_t xp_net; |
526 | struct net *xp_net; | ||
527 | #endif | ||
528 | struct hlist_node bydst; | 524 | struct hlist_node bydst; |
529 | struct hlist_node byidx; | 525 | struct hlist_node byidx; |
530 | 526 | ||