Update gVisor to 20230814.0

This commit is contained in:
世界 committed 2023-10-30 12:41:21 +08:00
1 parent bea177a4cd
commit e143fc510d
5 files changed
+23 -9

No files matched your search

+4
View File
@@ -286,6 +286,10 @@ func (ep *wireEndpoint) ARPHardwareType() header.ARPHardwareType {
func (ep *wireEndpoint) AddHeader(buffer stack.PacketBufferPtr) {
}
func (ep *wireEndpoint) ParseHeader(ptr stack.PacketBufferPtr) bool {
return true
}
func (ep *wireEndpoint) WritePackets(list stack.PacketBufferList) (int, tcpip.Error) {
for _, packetBuffer := range list.AsSlice() {
packetBuffer.IncRef()