Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Change pktq's drops count sysctl from CTLTYPE_INT to...
details: https://anonhg.NetBSD.org/src/rev/5d0acee8a47c
branches: trunk
changeset: 365210:5d0acee8a47c
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Aug 06 06:54:40 2018 +0000
description:
Change pktq's drops count sysctl from CTLTYPE_INT to CTLTYPE_QUAD.
diffstat:
sys/net/if.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e40349e4cda7 -r 5d0acee8a47c sys/net/if.c
--- a/sys/net/if.c Mon Aug 06 04:50:11 2018 +0000
+++ b/sys/net/if.c Mon Aug 06 06:54:40 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if.c,v 1.430 2018/07/09 14:54:01 christos Exp $ */
+/* $NetBSD: if.c,v 1.431 2018/08/06 06:54:40 msaitoh Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.430 2018/07/09 14:54:01 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.431 2018/08/06 06:54:40 msaitoh Exp $");
#if defined(_KERNEL_OPT)
#include "opt_inet.h"
@@ -3779,7 +3779,7 @@
CTL_NET, pf, ipn, qid, IFQCTL_MAXLEN, CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT,
- CTLTYPE_INT, "drops",
+ CTLTYPE_QUAD, "drops",
SYSCTL_DESCR("Packets dropped due to full input queue"),
drops_func, 0, NULL, 0,
CTL_NET, pf, ipn, qid, IFQCTL_DROPS, CTL_EOL);
Home |
Main Index |
Thread Index |
Old Index