diff options
author | gnn <gnn@FreeBSD.org> | 2007-05-08 20:11:36 +0000 |
---|---|---|
committer | gnn <gnn@FreeBSD.org> | 2007-05-08 20:11:36 +0000 |
commit | 27bb2c65508c54b1ee20345c2793dc0e70488b31 (patch) | |
tree | 3dec805fc5b79396f22ce66e2b00bd7303aefd76 /sys | |
parent | 396660deb60d5e641c3cc121178349a541f57a6f (diff) | |
download | FreeBSD-src-27bb2c65508c54b1ee20345c2793dc0e70488b31.zip FreeBSD-src-27bb2c65508c54b1ee20345c2793dc0e70488b31.tar.gz |
Reduce the default number of header options that the IPv6 protocol
stack will process from 50 to 15. As this is a sysctl variable it
can be tuned up or down at the user/administrator's whim.
Submitted by: itojun
MFC after: 1 day
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/in6_proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c index 6b2a92a..5269cfa 100644 --- a/sys/netinet6/in6_proto.c +++ b/sys/netinet6/in6_proto.c @@ -404,7 +404,7 @@ int ip6_accept_rtadv = 0; /* "IPV6FORWARDING ? 0 : 1" is dangerous */ int ip6_maxfragpackets; /* initialized in frag6.c:frag6_init() */ int ip6_maxfrags; /* initialized in frag6.c:frag6_init() */ int ip6_log_interval = 5; -int ip6_hdrnestlimit = 50; /* appropriate? */ +int ip6_hdrnestlimit = 15; /* How many header options will we process? */ int ip6_dad_count = 1; /* DupAddrDetectionTransmits */ int ip6_auto_flowlabel = 1; int ip6_gif_hlim = 0; |