[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>
This commit is contained in:
parent
ff9b5e0f08
commit
a9917c0665
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user