Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/netinet6 Pull up following revision(s) (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/b9a500df3d47
branches:  netbsd-8
changeset: 434795:b9a500df3d47
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Mar 30 12:01:30 2018 +0000

description:
Pull up following revision(s) (requested by maxv in ticket #672):
        sys/netinet6/in6_proto.c: revision 1.120
Change ip6_hdrnestlimit to be 15 instead of 50. I couldn't find any
reference in RFCs about what a correct limit should be, but FreeBSD already
uses 15.
If an IPv6 packet has 50 options, there is clearly something wrong with it.

diffstat:

 sys/netinet6/in6_proto.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fa9a6ae1e626 -r b9a500df3d47 sys/netinet6/in6_proto.c
--- a/sys/netinet6/in6_proto.c  Fri Mar 30 11:57:13 2018 +0000
+++ b/sys/netinet6/in6_proto.c  Fri Mar 30 12:01:30 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in6_proto.c,v 1.117.4.2 2017/10/24 08:55:55 snj Exp $  */
+/*     $NetBSD: in6_proto.c,v 1.117.4.3 2018/03/30 12:01:30 martin Exp $       */
 /*     $KAME: in6_proto.c,v 1.66 2000/10/10 15:35:47 itojun Exp $      */
 
 /*
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6_proto.c,v 1.117.4.2 2017/10/24 08:55:55 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6_proto.c,v 1.117.4.3 2018/03/30 12:01:30 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_gateway.h"
@@ -569,7 +569,7 @@
 int    ip6_maxfragpackets = 200;
 int    ip6_maxfrags = 200;
 int    ip6_log_interval = 5;
-int    ip6_hdrnestlimit = 50;  /* appropriate? */
+int    ip6_hdrnestlimit = 15;  /* appropriate? */
 int    ip6_dad_count = 1;      /* DupAddrDetectionTransmits */
 int    ip6_auto_flowlabel = 1;
 int    ip6_use_deprecated = 1; /* allow deprecated addr (RFC2462 5.5.4) */



Home | Main Index | Thread Index | Old Index