diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-10-04 01:00:26 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-10-04 09:31:02 +0200 |
commit | ae8c05779ac2f286b872db9ebea0c3c0a031ad1e (patch) | |
tree | af273537fa57c67b706b41544bb22bba1dfb9374 /net/bridge | |
parent | [XFRM] STATE: Use destination address for src hash. (diff) | |
download | linux-ae8c05779ac2f286b872db9ebea0c3c0a031ad1e.tar.xz linux-ae8c05779ac2f286b872db9ebea0c3c0a031ad1e.zip |
[XFRM]: Clearing xfrm_policy_count[] to zero during flush is incorrect.
When we flush policies, we do a type match so we might not
actually delete all policies matching a certain direction.
So keep track of how many policies we actually kill and
subtract that number from xfrm_policy_count[dir] at the
end.
Based upon a patch by Masahide NAKAMURA.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions