aboutsummaryrefslogblamecommitdiffstats
path: root/main/linux-grsec/xfrm-cache-size-revert.patch
blob: c8fcbd0d7982e7c168e0eab4ecebbe0cd500f51f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
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);