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

It was implemented in 5b0074729d38f8cc301803da06086033f53b1b93.

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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