You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
local.go ipn/ipnlocal: fix data race 3 years ago
local_test.go all: adapt to opaque netaddr types 3 years ago
loglines_test.go types/logger: add key grinder stats lines to rate-limiting exemption list 3 years ago
peerapi.go all: adapt to opaque netaddr types 3 years ago
peerapi_macios_ext.go net/dns{,/resolver}: refactor DNS forwarder, send out of right link on macOS/iOS 3 years ago
peerapi_test.go ipn/ipnlocal: use delete marker files to work around Windows delete problems 3 years ago
state_test.go ipn/{ipnlocal,localapi}, control/controlclient: add SetDNS localapi 3 years ago