Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/in_cksum remove debugging test
details: https://anonhg.NetBSD.org/src/rev/fc219de44700
branches: trunk
changeset: 341115:fc219de44700
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 18 18:27:25 2015 +0000
description:
remove debugging test
diffstat:
tests/net/in_cksum/in_cksum.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 5fee9e6ac2ce -r fc219de44700 tests/net/in_cksum/in_cksum.c
--- a/tests/net/in_cksum/in_cksum.c Sun Oct 18 18:26:55 2015 +0000
+++ b/tests/net/in_cksum/in_cksum.c Sun Oct 18 18:27:25 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in_cksum.c,v 1.4 2015/10/18 18:26:55 christos Exp $ */
+/* $NetBSD: in_cksum.c,v 1.5 2015/10/18 18:27:25 christos Exp $ */
/*-
* Copyright (c) 2008 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in_cksum.c,v 1.4 2015/10/18 18:26:55 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_cksum.c,v 1.5 2015/10/18 18:27:25 christos Exp $");
#include <sys/param.h>
#include <sys/mbuf.h>
@@ -224,8 +224,6 @@
len -= off;
old_sum = portable_cpu_in_cksum(m, len, off, init_sum);
#ifdef HAVE_CPU_IN_CKSUM
- if (len == 10041)
- m = m->m_next;
#ifdef MBUFDUMP
printf("m->m_len=%d len=%d off=%d\n", m->m_len, len, off);
dump_mbuf(m, len, off);
Home |
Main Index |
Thread Index |
Old Index