提交 a9917c06 编写于 作者: M Masahide NAKAMURA 提交者: David S. Miller

[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: NDavid S. Miller <davem@davemloft.net>
上级 ff9b5e0f
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册