mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue