Files
tailscale/feature/conn25
Mazdak Nasab 4f7439b415 feature/conn25: name lock-requiring methods Locked (#22532)
Two methods read or write state guarded by their receiver's mutex without
taking it, relying on every caller to hold it, but were not named to say
so. enqueueAddressAssignment documented the requirement in prose only;
lookupAddrBySrcIPAndTransitIP had no doc comment at all. Rename both with
the Locked suffix the package already uses for drainAddrsLocked,
transitIPRoutableLocked and removeFlowLocked, and give the connector
lookup a doc comment stating the requirement.

Fixes https://github.com/tailscale/corp/issues/38924

Change-Id: Ib8bcaf5809ae6f982a504ae554ad1304dbb53018

Signed-off-by: Mazdak Nasab <mazdak.nasab@gmail.com>
2026-11-20 14:48:51 -07:00
..