From 4bd216efd5b26d26af55744a25be9205bd2398da Mon Sep 17 00:00:00 2001 From: mvs Date: Thu, 18 Jan 2024 08:46:41 +0000 Subject: [PATCH] Use `nowake' as tsleep_nsec(9) ident. It has no corresponding wakeup(9). ok bluhm --- sys/net/if_wg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/if_wg.c b/sys/net/if_wg.c index dcd50255fad..a35f43510ab 100644 --- a/sys/net/if_wg.c +++ b/sys/net/if_wg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wg.c,v 1.35 2024/01/01 18:47:02 mvs Exp $ */ +/* $OpenBSD: if_wg.c,v 1.36 2024/01/18 08:46:41 mvs Exp $ */ /* * Copyright (C) 2015-2020 Jason A. Donenfeld . All Rights Reserved. @@ -518,7 +518,7 @@ wg_peer_destroy(struct wg_peer *peer) continue; } NET_UNLOCK(); - tsleep_nsec(sc, PWAIT, "wg_ifq", 1000); + tsleep_nsec(&nowake, PWAIT, "wg_ifq", 1000); NET_LOCK(); } NET_UNLOCK(); -- 2.20.1