summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
Diffstat (limited to 'runsc')
-rw-r--r--runsc/boot/network.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/runsc/boot/network.go b/runsc/boot/network.go
index 83d56f93a..0cadf48d6 100644
--- a/runsc/boot/network.go
+++ b/runsc/boot/network.go
@@ -135,12 +135,12 @@ func (n *Network) CreateLinksAndRoutes(args *CreateLinksAndRoutesArgs, _ *struct
mac := tcpip.LinkAddress(generateRndMac())
linkEP := fdbased.New(&fdbased.Options{
- FD: newFD,
- MTU: uint32(link.MTU),
- EthernetHeader: true,
- HandleLocal: true,
- Address: mac,
- UseRecvMMsg: true,
+ FD: newFD,
+ MTU: uint32(link.MTU),
+ EthernetHeader: true,
+ HandleLocal: true,
+ Address: mac,
+ PacketDispatchMode: fdbased.PacketMMap,
})
log.Infof("Enabling interface %q with id %d on addresses %+v (%v)", link.Name, nicID, link.Addresses, mac)