Shorten the if_cloners_lock name preventing it from being truncated in
authoranton <anton@openbsd.org>
Tue, 9 Mar 2021 20:03:50 +0000 (20:03 +0000)
committeranton <anton@openbsd.org>
Tue, 9 Mar 2021 20:03:50 +0000 (20:03 +0000)
the top(1) wait column.

ok mvs@

sys/net/if.c

index 3e0ce16..6ed56de 100644 (file)
@@ -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);