Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/netinet Pull up following revision(s) (requested by r...
details: https://anonhg.NetBSD.org/src/rev/2b4f9110230b
branches: netbsd-9
changeset: 453955:2b4f9110230b
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 01 14:04:37 2019 +0000
description:
Pull up following revision(s) (requested by roy in ticket #147):
sys/netinet/if_arp.c: revision 1.285
sys/netinet/if_arp.c: revision 1.286
ARP: remove unused sysctl entry log_unknown_network
ARP: change default sysctl entry log_movements to 0
IP address sharing is a thing and shouldn't cause needless diagnostics
by default.
diffstat:
sys/netinet/if_arp.c | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diffs (44 lines):
diff -r 3007c9f543c7 -r 2b4f9110230b sys/netinet/if_arp.c
--- a/sys/netinet/if_arp.c Sun Sep 01 14:03:02 2019 +0000
+++ b/sys/netinet/if_arp.c Sun Sep 01 14:04:37 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_arp.c,v 1.282.2.1 2019/08/26 13:42:36 martin Exp $ */
+/* $NetBSD: if_arp.c,v 1.282.2.2 2019/09/01 14:04:37 martin Exp $ */
/*
* Copyright (c) 1998, 2000, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.282.2.1 2019/08/26 13:42:36 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.282.2.2 2019/09/01 14:04:37 martin Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -209,10 +209,9 @@
static int arp_drainwanted;
-static int log_movements = 1;
+static int log_movements = 0;
static int log_permanent_modify = 1;
static int log_wrong_iface = 1;
-static int log_unknown_network = 1;
DOMAIN_DEFINE(arpdomain); /* forward declare and add to link set */
@@ -2071,13 +2070,6 @@
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
- CTLTYPE_INT, "log_unknown_network",
- SYSCTL_DESCR("log ARP packets from non-local network"),
- NULL, 0, &log_unknown_network, 0,
- CTL_NET,PF_INET, node->sysctl_num, CTL_CREATE, CTL_EOL);
-
- sysctl_createv(clog, 0, NULL, NULL,
- CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
CTLTYPE_INT, "debug",
SYSCTL_DESCR("Enable ARP DAD debug output"),
NULL, 0, &arp_debug, 0,
Home |
Main Index |
Thread Index |
Old Index