Files
tailscale/cmd/tailscale
Nick Khyl 66ec3159d6 util/syspolicy/rsop: don't wait for change callbacks when reloading policy
Registering, replacing or unregistering a store, or calling Policy.Reload,
waited for the policy change callbacks to return, deadlocking if the caller
held a lock that a callback acquires, such as LocalBackend.mu.

Invoke the callbacks from an execqueue instead. The effective policy is
still updated by the time these calls return.

Updates tailscale/corp#51945

Change-Id: I4afa36b9acaa0e0104e4e420c561eab076d06c80
Signed-off-by: Nick Khyl <[email protected]>
2026-11-30 17:40:01 -08:00
..