projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff9b5e0
)
[XFRM] STATE: Fix flusing with hash mask.
author
Masahide NAKAMURA
<nakam@linux-ipv6.org>
Thu, 31 Aug 2006 22:14:32 +0000
(15:14 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:45 +0000
(15:18 -0700)
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>
net/xfrm/xfrm_state.c
patch
|
blob
|
history
diff --git
a/net/xfrm/xfrm_state.c
b/net/xfrm/xfrm_state.c
index 4341795eb244111db60d9a575aed469c981f01cb..9f63edd39346538252f07a40b5925850e61f1511 100644
(file)
--- 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: