File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ struct netns_xfrm {
51
51
struct hlist_head * policy_byidx ;
52
52
unsigned int policy_idx_hmask ;
53
53
unsigned int idx_generator ;
54
- struct hlist_head policy_inexact [XFRM_POLICY_MAX ];
55
54
struct xfrm_policy_hash policy_bydst [XFRM_POLICY_MAX ];
56
55
unsigned int policy_count [XFRM_POLICY_MAX * 2 ];
57
56
struct work_struct policy_hash_work ;
Original file line number Diff line number Diff line change @@ -4206,7 +4206,6 @@ static int __net_init xfrm_policy_init(struct net *net)
4206
4206
4207
4207
net -> xfrm .policy_count [dir ] = 0 ;
4208
4208
net -> xfrm .policy_count [XFRM_POLICY_MAX + dir ] = 0 ;
4209
- INIT_HLIST_HEAD (& net -> xfrm .policy_inexact [dir ]);
4210
4209
4211
4210
htab = & net -> xfrm .policy_bydst [dir ];
4212
4211
htab -> table = xfrm_hash_alloc (sz );
@@ -4260,8 +4259,6 @@ static void xfrm_policy_fini(struct net *net)
4260
4259
for (dir = 0 ; dir < XFRM_POLICY_MAX ; dir ++ ) {
4261
4260
struct xfrm_policy_hash * htab ;
4262
4261
4263
- WARN_ON (!hlist_empty (& net -> xfrm .policy_inexact [dir ]));
4264
-
4265
4262
htab = & net -> xfrm .policy_bydst [dir ];
4266
4263
sz = (htab -> hmask + 1 ) * sizeof (struct hlist_head );
4267
4264
WARN_ON (!hlist_empty (htab -> table ));
You can’t perform that action at this time.
0 commit comments