summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2020-06-22 02:45:19 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2020-06-22 02:45:19 +0000
commit659d5c0d38080fd4071ade452e5b0fde6b326230 (patch)
tree8db492a2778bef215feb1c0333e089a887bd9e7b /sys/kern/kern_sysctl.c
parentd706f6e60da883d9f53673ab80472054084a6874 (diff)
there's not going to be any whole kernel wide network livelocks soon.
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r--sys/kern/kern_sysctl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index bb34743e265..31705cc6bfa 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sysctl.c,v 1.372 2020/05/29 01:22:53 deraadt Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.373 2020/06/22 02:45:18 dlg Exp $ */
/* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */
/*-
@@ -122,7 +122,6 @@ extern int nselcoll, fscale;
extern struct disklist_head disklist;
extern fixpt_t ccpu;
extern long numvnodes;
-extern u_int net_livelocks;
#if NAUDIO > 0
extern int audio_record_enable;
#endif
@@ -644,7 +643,7 @@ kern_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
dev = NODEV;
return sysctl_rdstruct(oldp, oldlenp, newp, &dev, sizeof(dev));
case KERN_NETLIVELOCKS:
- return (sysctl_rdint(oldp, oldlenp, newp, net_livelocks));
+ return (sysctl_rdint(oldp, oldlenp, newp, 0));
case KERN_POOL_DEBUG: {
int old_pool_debug = pool_debug;