diff options
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c index aaafcee02fc5..abbe2702c400 100644 --- a/net/xfrm/xfrm_state.c +++ b/net/xfrm/xfrm_state.c | |||
@@ -423,6 +423,7 @@ static void xfrm_state_gc_task(struct work_struct *data) | |||
423 | list_for_each_entry_safe(x, tmp, &xfrm_state_gc_leftovers, gclist) { | 423 | list_for_each_entry_safe(x, tmp, &xfrm_state_gc_leftovers, gclist) { |
424 | if ((long)(x->lastused - completed) > 0) | 424 | if ((long)(x->lastused - completed) > 0) |
425 | break; | 425 | break; |
426 | list_del(&x->gclist); | ||
426 | xfrm_state_gc_destroy(x); | 427 | xfrm_state_gc_destroy(x); |
427 | } | 428 | } |
428 | 429 | ||