Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet This really was a missing break.



details:   https://anonhg.NetBSD.org/src/rev/21b53459d59b
branches:  trunk
changeset: 448950:21b53459d59b
user:      rjs <rjs%NetBSD.org@localhost>
date:      Fri Feb 15 14:13:32 2019 +0000

description:
This really was a missing break.

Spotted by Rin Okuyama.

diffstat:

 sys/netinet/sctp_usrreq.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 1ace3b0bc3ad -r 21b53459d59b sys/netinet/sctp_usrreq.c
--- a/sys/netinet/sctp_usrreq.c Fri Feb 15 13:17:05 2019 +0000
+++ b/sys/netinet/sctp_usrreq.c Fri Feb 15 14:13:32 2019 +0000
@@ -1,5 +1,5 @@
 /*     $KAME: sctp_usrreq.c,v 1.50 2005/06/16 20:45:29 jinmei Exp $    */
-/*     $NetBSD: sctp_usrreq.c,v 1.15 2019/02/12 14:40:38 rjs Exp $     */
+/*     $NetBSD: sctp_usrreq.c,v 1.16 2019/02/15 14:13:32 rjs Exp $     */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc.
@@ -33,7 +33,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_usrreq.c,v 1.15 2019/02/12 14:40:38 rjs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_usrreq.c,v 1.16 2019/02/15 14:13:32 rjs Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -2289,7 +2289,8 @@
                *s_info = stcb->asoc.def_send;
                SCTP_TCB_UNLOCK(stcb);
                sopt->sopt_size = sizeof(*s_info);
-       } /* FALLTHROUGH */
+       }
+       break;
        case SCTP_INITMSG:
        {
                struct sctp_initmsg *sinit;



Home | Main Index | Thread Index | Old Index