summaryrefslogtreecommitdiffhomepage
path: root/runsc/sandbox
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-12-11 04:15:15 +0000
committergVisor bot <gvisor-bot@google.com>2020-12-11 04:15:15 +0000
commit032a6ffb269b1c2a5ca74b0844b9c6145ecaff83 (patch)
treed94423eef867d1e6e8d73dd9dd7e874621fecfa2 /runsc/sandbox
parent818c2fee4a38848ade784efe533aa15829ce0e5e (diff)
parentbcb97a3bb7560fab49ac35d8c184a510cb81f801 (diff)
Merge release-20201130.0-84-gbcb97a3bb (automated)
Diffstat (limited to 'runsc/sandbox')
-rw-r--r--runsc/sandbox/network.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/runsc/sandbox/network.go b/runsc/sandbox/network.go
index d8112e7a2..9e429f7d5 100644
--- a/runsc/sandbox/network.go
+++ b/runsc/sandbox/network.go
@@ -279,8 +279,6 @@ func createSocket(iface net.Interface, ifaceLink netlink.Link, enableGSO bool) (
ll := syscall.SockaddrLinklayer{
Protocol: protocol,
Ifindex: iface.Index,
- Hatype: 0, // No ARP type.
- Pkttype: syscall.PACKET_OTHERHOST,
}
if err := syscall.Bind(fd, &ll); err != nil {
return nil, fmt.Errorf("unable to bind to %q: %v", iface.Name, err)