Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet remove unintended commit (this was to avoid a bu...
details: https://anonhg.NetBSD.org/src/rev/b3ca95d2b694
branches: trunk
changeset: 779842:b3ca95d2b694
user: christos <christos%NetBSD.org@localhost>
date: Fri Jun 22 15:09:36 2012 +0000
description:
remove unintended commit (this was to avoid a bug in the hme driver which
I have not been able to reproduce)
diffstat:
sys/netinet/tcp_input.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r 0039eec17d63 -r b3ca95d2b694 sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c Fri Jun 22 14:54:34 2012 +0000
+++ b/sys/netinet/tcp_input.c Fri Jun 22 15:09:36 2012 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index