net: xfrm: revert to lower xfrm dst gc limit
authorFlorian Westphal <fw@strlen.de>
Mon, 17 Jul 2017 11:57:20 +0000 (13:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Jul 2017 18:13:41 +0000 (11:13 -0700)
commit3c2a89ddc11896cf5498115c0380ab54b1c424b7
treebde766458290a2088df1762a9c1290f35c2a6bdc
parent6b1c42e9726bdb00370342909d95efdc331d10ac
net: xfrm: revert to lower xfrm dst gc limit

revert c386578f1cdb4dac230395 ("xfrm: Let the flowcache handle its size by default.").

Once we remove flow cache, we don't have a flow cache limit anymore.
We must not allow (virtually) unlimited allocations of xfrm dst entries.
Revert back to the old xfrm dst gc limits.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
net/ipv4/xfrm4_policy.c
net/ipv6/xfrm6_policy.c