Module Name:    src
Committed By:   rjs
Date:           Fri Feb 15 14:13:32 UTC 2019

Modified Files:
        src/sys/netinet: sctp_usrreq.c

Log Message:
This really was a missing break.

Spotted by Rin Okuyama.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/netinet/sctp_usrreq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet/sctp_usrreq.c
diff -u src/sys/netinet/sctp_usrreq.c:1.15 src/sys/netinet/sctp_usrreq.c:1.16
--- src/sys/netinet/sctp_usrreq.c:1.15	Tue Feb 12 14:40:38 2019
+++ src/sys/netinet/sctp_usrreq.c	Fri Feb 15 14:13:32 2019
@@ -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 @@ sctp_optsget(struct socket *so, struct s
 		*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;

Reply via email to