diff options
Diffstat (limited to 'main/linux-pae/xfrm-cache-size-revert.patch')
-rw-r--r-- | main/linux-pae/xfrm-cache-size-revert.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/linux-pae/xfrm-cache-size-revert.patch b/main/linux-pae/xfrm-cache-size-revert.patch new file mode 100644 index 000000000..c8fcbd0d7 --- /dev/null +++ b/main/linux-pae/xfrm-cache-size-revert.patch @@ -0,0 +1,12 @@ +diff --git a/net/ipv4/xfrm4_policy.c b/net/ipv4/xfrm4_policy.c +index 74fb2eb..e158860 100644 +--- a/net/ipv4/xfrm4_policy.c ++++ b/net/ipv4/xfrm4_policy.c +@@ -308,7 +308,6 @@ void __init xfrm4_init(int rt_max_size) + * That will let us store an ipsec connection per route table entry, + * and start cleaning when were 1/2 full + */ +- xfrm4_dst_ops.gc_thresh = rt_max_size/2; + #ifdef CONFIG_SYSCTL + sysctl_hdr = register_net_sysctl_table(&init_net, net_ipv4_ctl_path, + xfrm4_policy_table); |