virtio: checksum error reported for ip6 traffic with GSO enable 07/29507/2
authorSteven Luong <sluong@cisco.com>
Mon, 12 Oct 2020 17:43:28 +0000 (10:43 -0700)
committerDave Wallace <dwallacelf@gmail.com>
Fri, 23 Oct 2020 21:13:59 +0000 (21:13 +0000)
commit11166453a54511b1396faed46abb946a0d2eb393
tree50e218e1ea08649ff34db14936d4e55cc0729a28
parentee3ea114961610476bac544a979fdee8278d2b9e
virtio: checksum error reported for ip6 traffic with GSO enable

When GSO is enabled, vhost clears the checksum field prior to transmitting
the packet. Some newer kernel version does not like that and complains
about checksum error. This was seen with ip6 traffic.

Type: fix

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I7c6f2a6148f4a30107bfa8b078f5990e64300cf1
(cherry picked from commit ac0f5363881fdce2721287bc5c756282166d9991)
src/vnet/devices/virtio/vhost_user_input.c
src/vnet/devices/virtio/vhost_user_output.c