diff options
| author | Nick Khyl <nickk@tailscale.com> | 2025-04-29 12:23:27 -0500 |
|---|---|---|
| committer | Nick Khyl <nickk@tailscale.com> | 2025-04-29 13:07:57 -0500 |
| commit | 6d8a414c06e3b26e174e554a259692635d1e3b9c (patch) | |
| tree | ddd039a6319b41fff90eadd8df7c0770f84d025e /control | |
| parent | 66371f392a785173ff02a27e92d8d9d6590acdd2 (diff) | |
| download | tailscale-nickkhyl/appendmatchingpeers.tar.xz tailscale-nickkhyl/appendmatchingpeers.zip | |
ipn/ipnlocal: fix taildrop deadlocknickkhyl/appendmatchingpeers
We update (*localNodeContext).AppendMatchingPeers's predicate to take a short-lived
PeerInfo struct instead of tailcfg.NodeView. This allows the predicate to use (*PeerInfo).HasCap(),
instead of calling back to localNodeContext causing the deadlock.
Fixes #15824
Signed-off-by: Nick Khyl <nickk@tailscale.com>
Diffstat (limited to 'control')
0 files changed, 0 insertions, 0 deletions
