Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet Add missing FALLTHROUGH in sctp_input.c



details:   https://anonhg.NetBSD.org/src/rev/1845a56400b2
branches:  trunk
changeset: 449172:1845a56400b2
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sun Feb 24 21:07:59 2019 +0000

description:
Add missing FALLTHROUGH in sctp_input.c

Requested by GCC NetBSD/i386 kUBSan KCOC build.

diffstat:

 sys/netinet/sctp_input.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r fad1616eb4c0 -r 1845a56400b2 sys/netinet/sctp_input.c
--- a/sys/netinet/sctp_input.c  Sun Feb 24 20:58:55 2019 +0000
+++ b/sys/netinet/sctp_input.c  Sun Feb 24 21:07:59 2019 +0000
@@ -1,5 +1,5 @@
 /*     $KAME: sctp_input.c,v 1.28 2005/04/21 18:36:21 nishida Exp $    */
-/*     $NetBSD: sctp_input.c,v 1.12 2019/02/12 14:40:38 rjs Exp $      */
+/*     $NetBSD: sctp_input.c,v 1.13 2019/02/24 21:07:59 kamil Exp $    */
 
 /*
  * Copyright (C) 2002, 2003, 2004 Cisco Systems Inc,
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_input.c,v 1.12 2019/02/12 14:40:38 rjs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_input.c,v 1.13 2019/02/24 21:07:59 kamil Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ipsec.h"
@@ -682,6 +682,7 @@
                        printf("Strange peer, snds ASCONF but does not recongnize asconf-ack?\n");
                }
 #endif
+               /* FALLTHROUGH */
        case SCTP_ASCONF:
 #ifdef SCTP_DEBUG
                if (sctp_debug_on & SCTP_DEBUG_INPUT2) {



Home | Main Index | Thread Index | Old Index