summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-09-09 18:11:10 +0000
committergVisor bot <gvisor-bot@google.com>2021-09-09 18:11:10 +0000
commit905089a76d1c93f8bcf082a1c4a4eb58fafe9ea4 (patch)
treed6dd82c6e7356e1a2cd385f437ea68494cf2faa6 /runsc/boot
parentbd6388c4b8a3863df70ba2f43257ade15d905af0 (diff)
parent5e9c3a0b934f0dd7513e21372b3fd8593b87525b (diff)
Merge release-20210830.0-27-g5e9c3a0b9 (automated)
Diffstat (limited to 'runsc/boot')
-rw-r--r--runsc/boot/network.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/boot/network.go b/runsc/boot/network.go
index 5c6879198..534242551 100644
--- a/runsc/boot/network.go
+++ b/runsc/boot/network.go
@@ -210,7 +210,7 @@ func (n *Network) CreateLinksAndRoutes(args *CreateLinksAndRoutesArgs, _ *struct
linkEP, err := fdbased.New(&fdbased.Options{
FDs: FDs,
MTU: uint32(link.MTU),
- EthernetHeader: true,
+ EthernetHeader: mac != "",
Address: mac,
PacketDispatchMode: fdbased.RecvMMsg,
GSOMaxSize: link.GSOMaxSize,