Fix udp/icmp not work on gso with mixed stack

This commit is contained in:
wwqgtxx 2026-03-03 23:48:15 +08:00 committed by 世界
parent 6ee3db839d
commit 90ea7a0b69
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 34 additions and 0 deletions

View file

@ -39,6 +39,7 @@ type NativeTun struct {
writeAccess sync.Mutex
vnetHdr bool
writeBuffer []byte
vnetHdrWriteBuf []byte
gsoToWrite []int
tcpGROTable *tcpGROTable
udpGroAccess sync.Mutex