Files
wireguard-go/device
Josh Bleecher Snyder f7bbdc31a0 device: fix data race in peer.timersActive
Found by the race detector and existing tests.

To avoid introducing a lock into this hot path,
calculate and cache whether any peers exist.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-01-07 14:49:44 +01:00
..
2020-11-06 18:01:27 +01:00
2021-01-07 14:49:44 +01:00
2020-11-18 14:24:17 +01:00