[PATCH for 4.9 05/39] udp: disable inner UDP checksum offloads in IPsec case

2017-09-17 Thread Levin, Alexander (Sasha Levin)
From: Ansis Atteka [ Upstream commit b40c5f4fde22fb98eff205b3aece05b471c24eed ] 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

[PATCH for 4.9 05/39] udp: disable inner UDP checksum offloads in IPsec case

2017-09-17 Thread Levin, Alexander (Sasha Levin)
From: Ansis Atteka [ Upstream commit b40c5f4fde22fb98eff205b3aece05b471c24eed ] 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