remove gso, leave nice pretty GRO

This commit is contained in:
JackDoan
2025-11-07 11:24:14 -06:00
parent 7999b62147
commit f2bb43fb42
10 changed files with 17 additions and 328 deletions

View File

@@ -518,12 +518,12 @@ func (cm *connectionManager) sendPunch(hostinfo *HostInfo) {
if cm.punchy.GetTargetEverything() {
hostinfo.remotes.ForEach(cm.hostMap.GetPreferredRanges(), func(addr netip.AddrPort, preferred bool) {
cm.metricsTxPunchy.Inc(1)
cm.intf.outside.WriteDirect([]byte{1}, addr)
cm.intf.outside.WriteTo([]byte{1}, addr)
})
} else if hostinfo.remote.IsValid() {
cm.metricsTxPunchy.Inc(1)
cm.intf.outside.WriteDirect([]byte{1}, hostinfo.remote)
cm.intf.outside.WriteTo([]byte{1}, hostinfo.remote)
}
}