wgengine/magicsock: remove conn.InitiationAwareEndpoint TODO (#16498)

It was implemented in 5b0074729d.

Updates #cleanup

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited
2025-07-08 19:37:09 -07:00
committed by GitHub
parent 740b77df59
commit a60e0caf6a

View File

@@ -1708,11 +1708,6 @@ func (c *Conn) receiveIP(b []byte, ipp netip.AddrPort, cache *epAddrEndpointCach
}
// TODO(jwhited): reuse [lazyEndpoint] across calls to receiveIP()
// for the same batch & [epAddr] src.
//
// TODO(jwhited): implement [lazyEndpoint] integration to call
// [endpoint.noteRecvActivity], which triggers just-in-time
// wireguard-go configuration of the peer, prior to peer lookup
// within wireguard-go.
return &lazyEndpoint{c: c, src: src}, size, true
}
cache.epAddr = src