]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/ipv6/xfrm6_policy.c
xfrm: policy: remove garbage_collect callback
[mirror_ubuntu-artful-kernel.git] / net / ipv6 / xfrm6_policy.c
index e0f71c01d7289d7ba6213af131d647c8bae322e6..c273f22b12afe9a8893b6ba4fafb3914d58276ee 100644 (file)
@@ -220,7 +220,7 @@ static inline int xfrm6_garbage_collect(struct dst_ops *ops)
 {
        struct net *net = container_of(ops, struct net, xfrm.xfrm6_dst_ops);
 
-       xfrm6_policy_afinfo.garbage_collect(net);
+       xfrm_garbage_collect_deferred(net);
        return dst_entries_get_fast(ops) > ops->gc_thresh * 2;
 }