diff options
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c index 4341795eb244..9f63edd39346 100644 --- a/net/xfrm/xfrm_state.c +++ b/net/xfrm/xfrm_state.c | |||
@@ -384,7 +384,7 @@ void xfrm_state_flush(u8 proto) | |||
384 | int i; | 384 | int i; |
385 | 385 | ||
386 | spin_lock_bh(&xfrm_state_lock); | 386 | spin_lock_bh(&xfrm_state_lock); |
387 | for (i = 0; i < xfrm_state_hmask; i++) { | 387 | for (i = 0; i <= xfrm_state_hmask; i++) { |
388 | struct hlist_node *entry; | 388 | struct hlist_node *entry; |
389 | struct xfrm_state *x; | 389 | struct xfrm_state *x; |
390 | restart: | 390 | restart: |