summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/network.go
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2018-07-11 15:06:29 -0700
committerShentubot <shentubot@google.com>2018-07-11 15:07:19 -0700
commitc15cb8d432034e121497dbdc74d2842d5201552f (patch)
tree3fe44c4bcb0f0e9391961675a48d26a0bc4c0477 /runsc/boot/network.go
parentb9c469f37282129031a6036cfe43028faaeb1a96 (diff)
Automated rollback of changelist 203157739
PiperOrigin-RevId: 204196916 Change-Id: If632750fc6368acb835e22cfcee0ae55c8a04d16
Diffstat (limited to 'runsc/boot/network.go')
-rw-r--r--runsc/boot/network.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/runsc/boot/network.go b/runsc/boot/network.go
index df45218b9..d2b52c823 100644
--- a/runsc/boot/network.go
+++ b/runsc/boot/network.go
@@ -134,10 +134,11 @@ func (n *Network) CreateLinksAndRoutes(args *CreateLinksAndRoutesArgs, _ *struct
}
linkEP := fdbased.New(&fdbased.Options{
- FD: newFD,
- MTU: uint32(link.MTU),
- EthernetHeader: true,
- Address: tcpip.LinkAddress(generateRndMac()),
+ FD: newFD,
+ MTU: uint32(link.MTU),
+ ChecksumOffload: false,
+ EthernetHeader: true,
+ Address: tcpip.LinkAddress(generateRndMac()),
})
log.Infof("Enabling interface %q with id %d on addresses %+v", link.Name, nicID, link.Addresses)