diff options
author | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2024-01-18 08:46:42 +0000 |
---|---|---|
committer | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2024-01-18 08:46:42 +0000 |
commit | 1f5ce9d60ddf735430d2ab07faba46a5427d14ec (patch) | |
tree | cf1a53903448bc481d76abd18cbf400d2001466d /sys/net | |
parent | db010bbe5913b5d74754d507f79e751658547e74 (diff) |
Use `nowake' as tsleep_nsec(9) ident. It has no corresponding wakeup(9).
ok bluhm
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_wg.c | 4 |
1 files 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 <Jason@zx2c4.com>. 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(); |