Re: xfrm4_garbage_collect reaching limit
From: David Miller <davem@davemloft.net>
Date: 2015-09-18 04:23:36
From: David Miller <davem@davemloft.net>
Date: 2015-09-18 04:23:36
From: Steffen Klassert <steffen.klassert@secunet.com> Date: Wed, 16 Sep 2015 10:45:41 +0200
index 1e06c4f..3dffc73 100644--- a/net/ipv4/xfrm4_policy.c +++ b/net/ipv4/xfrm4_policy.c@@ -248,7 +248,7 @@ static struct dst_ops xfrm4_dst_ops = { .destroy = xfrm4_dst_destroy, .ifdown = xfrm4_dst_ifdown, .local_out = __ip_local_out, - .gc_thresh = 32768, + .gc_thresh = INT_MAX, }; static struct xfrm_policy_afinfo xfrm4_policy_afinfo = {
This means the dst_ops->gc() for xfrm will never be invoked. Is that intentional?