Source-Changes-HG archive

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

src: Additionally pull up the following revision for ticket #668,



details:   https://anonhg.NetBSD.org/src/rev/3b1b86954a79
branches:  netbsd-8
changeset: 317977:3b1b86954a79
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Apr 09 16:40:07 2018 +0000
description:
Additionally pull up the following revision for ticket #668,
requested by ozaki-r:

        sys/netinet/ip_reass.c 1.13

Change the error stat from IP_STAT_BADFRAGS to IP_STAT_TOOLONG. The
ping_of_death ATF test expects this counter to get increased.

diffstat:

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

diffs (27 lines):

diff -r 91c23e8dd747 -r 3b1b86954a79 sys/netinet/ip_reass.c
--- a/sys/netinet/ip_reass.c    Mon Apr 09 15:59:58 2018 +0000
+++ b/sys/netinet/ip_reass.c    Mon Apr 09 16:40:07 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_reass.c,v 1.11.8.2 2018/04/05 14:33:41 martin Exp $ */
+/*     $NetBSD: ip_reass.c,v 1.11.8.3 2018/04/09 16:40:07 martin Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1988, 1993
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_reass.c,v 1.11.8.2 2018/04/05 14:33:41 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_reass.c,v 1.11.8.3 2018/04/09 16:40:07 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -632,7 +632,7 @@
        }
 
        if (off + len > IP_MAXPACKET) {
-               IP_STATINC(IP_STAT_BADFRAGS);
+               IP_STATINC(IP_STAT_TOOLONG);
                return EINVAL;
        }
 



Home | Main Index | Thread Index | Old Index