aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/af_inet6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r--net/ipv6/af_inet6.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index c4a1882fa80f..3aea84a1822a 100644
--- a/net/ipv6/af_inet6.c
+++ b/net/ipv6/af_inet6.c
@@ -726,6 +726,14 @@ static int inet6_net_init(struct net *net)
726 net->ipv6.sysctl.frags.low_thresh = 192 * 1024; 726 net->ipv6.sysctl.frags.low_thresh = 192 * 1024;
727 net->ipv6.sysctl.frags.timeout = IPV6_FRAG_TIMEOUT; 727 net->ipv6.sysctl.frags.timeout = IPV6_FRAG_TIMEOUT;
728 net->ipv6.sysctl.frags.secret_interval = 10 * 60 * HZ; 728 net->ipv6.sysctl.frags.secret_interval = 10 * 60 * HZ;
729 net->ipv6.sysctl.flush_delay = 0;
730 net->ipv6.sysctl.ip6_rt_max_size = 4096;
731 net->ipv6.sysctl.ip6_rt_gc_min_interval = HZ / 2;
732 net->ipv6.sysctl.ip6_rt_gc_timeout = 60*HZ;
733 net->ipv6.sysctl.ip6_rt_gc_interval = 30*HZ;
734 net->ipv6.sysctl.ip6_rt_gc_elasticity = 9;
735 net->ipv6.sysctl.ip6_rt_mtu_expires = 10*60*HZ;
736 net->ipv6.sysctl.ip6_rt_min_advmss = IPV6_MIN_MTU - 20 - 40;
729 ipv6_frag_sysctl_init(net); 737 ipv6_frag_sysctl_init(net);
730 738
731 return 0; 739 return 0;