diff options
author | Masahide NAKAMURA <nakam@linux-ipv6.org> | 2006-09-01 00:14:32 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-23 00:18:45 +0200 |
commit | a9917c06652165fe4eeb9ab7a5d1e0674e90e508 (patch) | |
tree | d73dacb6b29848b143bd760fcacec5831f5a8ece /net/xfrm | |
parent | [TCP]: Fix rcv mss estimate for LRO (diff) | |
download | linux-a9917c06652165fe4eeb9ab7a5d1e0674e90e508.tar.xz linux-a9917c06652165fe4eeb9ab7a5d1e0674e90e508.zip |
[XFRM] STATE: Fix flusing with hash mask.
This is a minor fix about transformation state flushing
for net-2.6.19. Please apply it.
Signed-off-by: David S. Miller <davem@davemloft.net>
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) int i; spin_lock_bh(&xfrm_state_lock); - for (i = 0; i < xfrm_state_hmask; i++) { + for (i = 0; i <= xfrm_state_hmask; i++) { struct hlist_node *entry; struct xfrm_state *x; restart: |