xfrm: Use a static gc threshold value for ipv6
authorSteffen Klassert <steffen.klassert@secunet.com>
Thu, 15 Nov 2012 08:00:18 +0000 (09:00 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 15 Nov 2012 08:00:18 +0000 (09:00 +0100)
commitc38132865959c47d36b5db1c9289c7391895be6b
tree921464a6cd6da1f2b468a77f52d78f2aaa543673
parentf7c83bcbfaf5c848018680a499aa6b50b32f3085
xfrm: Use a static gc threshold value for ipv6

Unlike ipv4 did, ipv6 does not handle the maximum number of cached
routes dynamically. So no need to try to handle the IPsec gc threshold
value dynamically. This patch sets the IPsec gc threshold value back to
1024 routes, as it is for non-IPsec routes.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv6/xfrm6_policy.c