Re:Linux kernel bug delivers corrupt TCP/IP data
by tyingq on Friday February 12, 2016 @10:07AM
(#11087646)
It does mention toggling off the veth device "checksum offloading" as a valid workaround.
[ Parent
| on HN ]
Re:Linux kernel bug delivers corrupt TCP/IP data
by evanj on Friday February 12, 2016 @02:06PM
(#11089589)
I've been trying to get Docker to include this workaround when it creates containers to ensure people don't run into it, but this has not gotten any attention: https://github.com/docker/docker/issues/18776
Mesos has a workaround like this in it now.
Re:Linux kernel bug delivers corrupt TCP/IP data
by vijayp on Friday February 12, 2016 @10:33AM
(#11087865)
yes, the code is as follows in the broken veth:
if (skb->ip_summed == CHECKSUM_NONE && rcv->features & NETIF_F_RXCSUM)
checksum offloading is encapsulated in the rcv-features bitmap, so disabling it will hide this bug.
You can do something like this within your container to disable it (from memory, might be slightly off): $ ethtool --offload VETH_DEVICE_NAME rx off tx off $ ethtool -K VETH_DEVICE_NAME gso off