diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-09-09 23:21:49 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-09-09 23:21:49 +0000 |
commit | 0e636a3408aac3cb6d9880a42ee217a48afa199b (patch) | |
tree | f1cf82acf0a07fcc66c4028369f689b9d9ad6e64 /runsc | |
parent | 905089a76d1c93f8bcf082a1c4a4eb58fafe9ea4 (diff) | |
parent | 833d933afda03706328ac556d08294a78e372a6a (diff) |
Merge release-20210830.0-29-g833d933af (automated)
Diffstat (limited to 'runsc')
-rw-r--r-- | runsc/boot/network.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/runsc/boot/network.go b/runsc/boot/network.go index 534242551..2257ecca7 100644 --- a/runsc/boot/network.go +++ b/runsc/boot/network.go @@ -26,7 +26,6 @@ import ( "gvisor.dev/gvisor/pkg/tcpip/link/ethernet" "gvisor.dev/gvisor/pkg/tcpip/link/fdbased" "gvisor.dev/gvisor/pkg/tcpip/link/loopback" - "gvisor.dev/gvisor/pkg/tcpip/link/packetsocket" "gvisor.dev/gvisor/pkg/tcpip/link/qdisc/fifo" "gvisor.dev/gvisor/pkg/tcpip/link/sniffer" "gvisor.dev/gvisor/pkg/tcpip/network/ipv4" @@ -229,9 +228,6 @@ func (n *Network) CreateLinksAndRoutes(args *CreateLinksAndRoutesArgs, _ *struct linkEP = fifo.New(linkEP, runtime.GOMAXPROCS(0), 1000) } - // Enable support for AF_PACKET sockets to receive outgoing packets. - linkEP = packetsocket.New(linkEP) - log.Infof("Enabling interface %q with id %d on addresses %+v (%v) w/ %d channels", link.Name, nicID, link.Addresses, mac, link.NumChannels) if err := n.createNICWithAddrs(nicID, link.Name, linkEP, link.Addresses); err != nil { return err |