From: mvs Date: Thu, 18 Jan 2024 08:46:41 +0000 (+0000) Subject: Use `nowake' as tsleep_nsec(9) ident. It has no corresponding wakeup(9). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4bd216efd5b26d26af55744a25be9205bd2398da;p=openbsd Use `nowake' as tsleep_nsec(9) ident. It has no corresponding wakeup(9). ok bluhm --- 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();