mirror of https://github.com/tailscale/tailscale/
ipn/ipnlocal: fix data race
We can't access b.netMap without holding b.mu.
We already grabbed it earlier in the function with the lock held.
Introduced in Nov 2020 in 7ea809897d
.
Discovered during stress testing.
Apparently it's a pretty rare?
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
pull/2305/head
parent
5813da885c
commit
f11a8928a6
Loading…
Reference in New Issue