Re: [PATCH net] udp: disable inner UDP checksum offloads in IPsec case

2017-04-24 Thread David Miller
From: Ansis Atteka Date: Fri, 21 Apr 2017 15:23:05 -0700 > Otherwise, UDP checksum offloads could corrupt ESP packets by attempting > to calculate UDP checksum when this inner UDP packet is already protected > by IPsec. > > One way to reproduce this bug is to have a VM with virtio_net driver (UF

[PATCH net] udp: disable inner UDP checksum offloads in IPsec case

2017-04-21 Thread Ansis Atteka
Otherwise, UDP checksum offloads could corrupt ESP packets by attempting to calculate UDP checksum when this inner UDP packet is already protected by IPsec. One way to reproduce this bug is to have a VM with virtio_net driver (UFO set to ON in the guest VM); and then encapsulate all guest's Ethern