aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-08-24 06:30:28 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 18:08:46 -0400
commit1c0953997567b22e32fdf85d3b4bc0f2461fd161 (patch)
tree5e4d691503d911f2134734e345ae0d7f01b97e4e /net/xfrm/xfrm_policy.c
parentc7f5ea3a4d1ae6b3b426e113358fdc57494bc754 (diff)
[XFRM]: Purge dst references to deleted SAs passively.
Just let GC and other normal mechanisms take care of getting rid of DST cache references to deleted xfrm_state objects instead of walking all the policy bundles. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r--net/xfrm/xfrm_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index cfa5c692f2e8..1bcaae4adf3a 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -1472,7 +1472,7 @@ static void __xfrm_garbage_collect(void)
1472 xfrm_prune_bundles(unused_bundle); 1472 xfrm_prune_bundles(unused_bundle);
1473} 1473}
1474 1474
1475int xfrm_flush_bundles(void) 1475static int xfrm_flush_bundles(void)
1476{ 1476{
1477 xfrm_prune_bundles(stale_bundle); 1477 xfrm_prune_bundles(stale_bundle);
1478 return 0; 1478 return 0;