Module Name:    src
Committed By:   christos
Date:           Fri Jun 22 15:09:36 UTC 2012

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

Log Message:
remove unintended commit (this was to avoid a bug in the hme driver which
I have not been able to reproduce)


To generate a diff of this commit:
cvs rdiff -u -r1.324 -r1.325 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.324 src/sys/netinet/tcp_input.c:1.325
--- src/sys/netinet/tcp_input.c:1.324	Fri Jun 22 10:54:35 2012
+++ src/sys/netinet/tcp_input.c	Fri Jun 22 11:09:36 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: tcp_input.c,v 1.324 2012/06/22 14:54:35 christos Exp $	*/
+/*	$NetBSD: tcp_input.c,v 1.325 2012/06/22 15:09:36 christos 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.324 2012/06/22 14:54:35 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.325 2012/06/22 15:09:36 christos Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipsec.h"
@@ -939,11 +939,6 @@ tcp_input_checksum(int af, struct mbuf *
 					     IFF_LOOPBACK) ||
 					   tcp_do_loopback_cksum)) {
 				TCP_CSUM_COUNTER_INCR(&tcp_swcsum);
-				if (m->m_len == 0) {
-					printf("mlen = 0 mkthdrlen = %d\n",
-					    m->m_pkthdr.len);
-					return 0;
-				}
 				if (in4_cksum(m, IPPROTO_TCP, toff,
 					      tlen + off) != 0)
 					goto badcsum;

Reply via email to