ipn/ipnlocal: revert some locking changes ahead of release branch cut (#17011)

This commit is contained in:
M. J. Fromberger
2025-09-02 15:57:31 -07:00
committed by GitHub
parent 0d23490e1a
commit 9e9bf13063
3 changed files with 212 additions and 221 deletions
+1 -1
View File
@@ -4299,7 +4299,7 @@ func (b *LocalBackend) SetPrefsForTest(newp *ipn.Prefs) {
}
unlock := b.lockAndGetUnlock()
defer unlock()
b.setPrefsLocked(newp)
b.setPrefsLockedOnEntry(newp, unlock)
}
type peerOptFunc func(*tailcfg.Node)