tailscale/ipn/ipnlocal
Josh Bleecher Snyder f11a8928a6 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>
2021-07-01 12:29:02 -07:00
..
local_test.go all: adapt to opaque netaddr types 2021-05-16 14:52:00 -07:00
local.go ipn/ipnlocal: fix data race 2021-07-01 12:29:02 -07:00
loglines_test.go types/logger: add key grinder stats lines to rate-limiting exemption list 2021-05-05 08:25:15 -07:00
peerapi_macios_ext.go net/dns{,/resolver}: refactor DNS forwarder, send out of right link on macOS/iOS 2021-06-23 16:04:10 -07:00
peerapi_test.go ipn/ipnlocal: use delete marker files to work around Windows delete problems 2021-04-26 10:59:25 -07:00
peerapi.go all: adapt to opaque netaddr types 2021-05-16 14:52:00 -07:00
state_test.go ipn/{ipnlocal,localapi}, control/controlclient: add SetDNS localapi 2021-06-07 20:35:56 -07:00