Files
wireguard-go/device
Jordan Whited 113c8f1340 device: fix WaitPool sync.Cond usage
The sync.Locker used with a sync.Cond must be acquired when changing
the associated condition, otherwise there is a window within
sync.Cond.Wait() where a wake-up may be missed.

Fixes: 4846070 ("device: use a waiting sync.Pool instead of a channel")
Reviewed-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Signed-off-by: Jordan Whited <jordan@tailscale.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-05-04 18:11:00 +02:00
..
2023-02-07 20:39:29 -03:00
2023-02-07 20:39:29 -03:00
2023-03-13 17:55:53 +01:00
2023-02-07 20:39:29 -03:00
2023-02-07 20:39:29 -03:00
2023-02-07 20:39:29 -03:00
2023-03-13 17:55:53 +01:00
2023-02-07 20:39:29 -03:00
2023-02-07 20:39:29 -03:00
2023-02-07 20:39:29 -03:00
2023-02-07 20:39:29 -03:00
2023-02-07 20:39:29 -03:00
2023-02-07 20:39:29 -03:00
2023-02-07 20:39:29 -03:00
2025-05-04 18:11:00 +02:00
2023-02-07 20:39:29 -03:00