artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d75b92
)
Use `nowake' as tsleep_nsec(9) ident. It has no corresponding wakeup(9).
author
mvs
<mvs@openbsd.org>
Thu, 18 Jan 2024 08:46:41 +0000
(08:46 +0000)
committer
mvs
<mvs@openbsd.org>
Thu, 18 Jan 2024 08:46:41 +0000
(08:46 +0000)
ok bluhm
sys/net/if_wg.c
patch
|
blob
|
history
diff --git
a/sys/net/if_wg.c
b/sys/net/if_wg.c
index
dcd5025
..
a35f435
100644
(file)
--- a/
sys/net/if_wg.c
+++ b/
sys/net/if_wg.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_wg.c,v 1.3
5 2024/01/01 18:47:02
mvs Exp $ */
+/* $OpenBSD: if_wg.c,v 1.3
6 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();