Skip to content
Commit 703fb94e authored by Steffen Klassert's avatar Steffen Klassert
Browse files

xfrm: Fix the gc threshold value for ipv4



The xfrm gc threshold value depends on ip_rt_max_size. This
value was set to INT_MAX with the routing cache removal patch,
so we start doing garbage collecting when we have INT_MAX/2
IPsec routes cached. Fix this by going back to the static
threshold of 1024 routes.

Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent a66fe165
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment