Module Name:    src
Committed By:   maxv
Date:           Thu Feb  8 19:25:48 UTC 2018

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

Log Message:
Remove this check, it is already done at the beginning of the function.


To generate a diff of this commit:
cvs rdiff -u -r1.366 -r1.367 src/sys/netinet/tcp_input.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/tcp_input.c
diff -u src/sys/netinet/tcp_input.c:1.366 src/sys/netinet/tcp_input.c:1.367
--- src/sys/netinet/tcp_input.c:1.366	Thu Feb  8 18:58:59 2018
+++ src/sys/netinet/tcp_input.c	Thu Feb  8 19:25:48 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: tcp_input.c,v 1.366 2018/02/08 18:58:59 maxv Exp $	*/
+/*	$NetBSD: tcp_input.c,v 1.367 2018/02/08 19:25:48 maxv Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -148,7 +148,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.366 2018/02/08 18:58:59 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.367 2018/02/08 19:25:48 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -1758,11 +1758,7 @@ nosave:;
 		} else {
 			/*
 			 * Received a SYN.
-			 *
-			 * RFC1122 4.2.3.10, p. 104: discard bcast/mcast SYN
 			 */
-			if (m->m_flags & (M_BCAST|M_MCAST))
-				goto drop;
 
 			switch (af) {
 #ifdef INET6

Reply via email to