]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7b40a6d5579a3647009fd4600bab031d14651b4
treebde766458290a2088df1762a9c1290f35c2a6bdc
parent2c93a013ca53c16516daa3ad3b1bc01bbb44f9f6
net: xfrm: revert to lower xfrm dst gc limit

revert 77f0ae3fcc73e863688063 ("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