From: anton Date: Tue, 9 Mar 2021 20:03:50 +0000 (+0000) Subject: Shorten the if_cloners_lock name preventing it from being truncated in X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cf9593fedbcd609677e27086da4eef7cb6ba8994;p=openbsd Shorten the if_cloners_lock name preventing it from being truncated in the top(1) wait column. ok mvs@ --- diff --git a/sys/net/if.c b/sys/net/if.c index 3e0ce1643a6..6ed56de13a1 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.632 2021/02/20 04:55:52 dlg Exp $ */ +/* $OpenBSD: if.c,v 1.633 2021/03/09 20:03:50 anton Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -228,7 +228,7 @@ TAILQ_HEAD(, ifg_group) ifg_head = TAILQ_HEAD_INITIALIZER(ifg_head); LIST_HEAD(, if_clone) if_cloners = LIST_HEAD_INITIALIZER(if_cloners); int if_cloners_count; -struct rwlock if_cloners_lock = RWLOCK_INITIALIZER("clonerlock"); +struct rwlock if_cloners_lock = RWLOCK_INITIALIZER("clonelk"); /* hooks should only be added, deleted, and run from a process context */ struct mutex if_hooks_mtx = MUTEX_INITIALIZER(IPL_NONE);