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

@@ -519,7 +519,7 @@ func (f *Interface) sendRecvError(endpoint netip.AddrPort, index uint32) {
f.messageMetrics.Tx(header.RecvError, 0, 1)
b := header.Encode(make([]byte, header.Len), header.Version, header.RecvError, 0, index, 0)
_ = f.outside.WriteDirect(b, endpoint)
_ = f.outside.WriteTo(b, endpoint)
if f.l.Level >= logrus.DebugLevel {
f.l.WithField("index", index).
WithField("udpAddr", endpoint).