aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_policy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index 49e089826f45..7ebbdd63fca0 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -2173,9 +2173,9 @@ static int unused_bundle(struct dst_entry *dst)
2173 return !atomic_read(&dst->__refcnt); 2173 return !atomic_read(&dst->__refcnt);
2174} 2174}
2175 2175
2176static void __xfrm_garbage_collect(void) 2176static void __xfrm_garbage_collect(struct net *net)
2177{ 2177{
2178 xfrm_prune_bundles(&init_net, unused_bundle); 2178 xfrm_prune_bundles(net, unused_bundle);
2179} 2179}
2180 2180
2181static int xfrm_flush_bundles(struct net *net) 2181static int xfrm_flush_bundles(struct net *net)