Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Committed debugging logs by mistake, sorry. Revert cryot...
details: https://anonhg.NetBSD.org/src/rev/361b47154cd3
branches: trunk
changeset: 358576:361b47154cd3
user: knakahara <knakahara%NetBSD.org@localhost>
date: Mon Jan 08 23:33:40 2018 +0000
description:
Committed debugging logs by mistake, sorry. Revert cryoto.c:r.1.103 and ip6_flow.c:r.1.37.
diffstat:
sys/netinet6/ip6_flow.c | 12 +++---------
sys/opencrypto/crypto.c | 6 +++---
2 files changed, 6 insertions(+), 12 deletions(-)
diffs (68 lines):
diff -r 761f9517f29c -r 361b47154cd3 sys/netinet6/ip6_flow.c
--- a/sys/netinet6/ip6_flow.c Mon Jan 08 23:23:25 2018 +0000
+++ b/sys/netinet6/ip6_flow.c Mon Jan 08 23:33:40 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip6_flow.c,v 1.37 2018/01/08 23:23:25 knakahara Exp $ */
+/* $NetBSD: ip6_flow.c,v 1.38 2018/01/08 23:33:40 knakahara Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_flow.c,v 1.37 2018/01/08 23:23:25 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_flow.c,v 1.38 2018/01/08 23:33:40 knakahara Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -560,8 +560,6 @@
struct ip6flow *ip6f;
size_t hash;
- printf("XXXX %s: enter\n", __func__);
-
ip6 = mtod(m, const struct ip6_hdr *);
KERNEL_LOCK_UNLESS_NET_MPSAFE();
@@ -573,12 +571,8 @@
*
* Don't create a flow for ICMPv6 messages.
*/
- if (ip6_maxflows == 0 || ip6->ip6_nxt == IPPROTO_IPV6_ICMP) {
- printf("XXXX %s: icmp skip\n", __func__);
+ if (ip6_maxflows == 0 || ip6->ip6_nxt == IPPROTO_IPV6_ICMP)
goto out;
- }
-
- printf("XXXX %s: ip6->ip6_nxt=%d\n", __func__, ip6->ip6_nxt);
/*
* See if an existing flow exists. If so:
diff -r 761f9517f29c -r 361b47154cd3 sys/opencrypto/crypto.c
--- a/sys/opencrypto/crypto.c Mon Jan 08 23:23:25 2018 +0000
+++ b/sys/opencrypto/crypto.c Mon Jan 08 23:33:40 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crypto.c,v 1.103 2018/01/08 23:23:25 knakahara Exp $ */
+/* $NetBSD: crypto.c,v 1.104 2018/01/08 23:33:40 knakahara Exp $ */
/* $FreeBSD: src/sys/opencrypto/crypto.c,v 1.4.2.5 2003/02/26 00:14:05 sam Exp $ */
/* $OpenBSD: crypto.c,v 1.41 2002/07/17 23:52:38 art Exp $ */
@@ -53,7 +53,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: crypto.c,v 1.103 2018/01/08 23:23:25 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: crypto.c,v 1.104 2018/01/08 23:33:40 knakahara Exp $");
#include <sys/param.h>
#include <sys/reboot.h>
@@ -360,7 +360,7 @@
}
/*
- * Crypto op and descriptor data structures are allocated
+ * Crypto op and desciptor data structures are allocated
* from separate private zones(FreeBSD)/pools(netBSD/OpenBSD) .
*/
static pool_cache_t cryptop_cache;
Home |
Main Index |
Thread Index |
Old Index