Feature: bump gVisor to latest version (#376)

This commit is contained in:
Jason Lyu
2024-07-19 23:31:44 -04:00
committed by GitHub
parent 7555425ab8
commit dd791e50c1
11 changed files with 40 additions and 68 deletions

View File

@@ -3,7 +3,6 @@ package core
import (
"net"
"gvisor.dev/gvisor/pkg/tcpip"
"gvisor.dev/gvisor/pkg/tcpip/network/ipv4"
"gvisor.dev/gvisor/pkg/tcpip/network/ipv6"
"gvisor.dev/gvisor/pkg/tcpip/stack"
@@ -55,7 +54,7 @@ func CreateStack(cfg *Config) (*stack.Stack, error) {
})
// Generate unique NIC id.
nicID := tcpip.NICID(s.UniqueID())
nicID := s.NextNICID()
opts = append(opts,
// Important: We must initiate transport protocol handlers