Files
Mazdak Nasab 8dc50105e4 feature/conn25: do not lock mu in packetFilterAllow (#22534)
packetFilterAllow holds c.mu while touching nothing it protects.
It only calls getIPSets, a func field assigned once in newConn25
that reads the config out of an atomic pointer.
Its siblings transitIPInPool and destinationInPools already call
it unlocked. Drop the acquisition, which besides being dead
was a lock-ordering hazard if getIPSets ever grows a lock of its own.

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

Change-Id: I2942a9b0a6a57378473393c62611c557f07e71b3

Signed-off-by: Mazdak Nasab <[email protected]>
2026-11-20 15:24:05 -07:00
..