virtio: fix the tcp/udp checksum offloads 01/29401/1
authorSteven Luong <sluong@cisco.com>
Mon, 12 Oct 2020 19:27:25 +0000 (12:27 -0700)
committerSteven Luong <sluong@cisco.com>
Mon, 12 Oct 2020 19:27:25 +0000 (12:27 -0700)
commit2a335465793d77a703a844ddefb19067c1b127a0
treedf3659aee366b8fc41a74b11bcb343d1ad7509ae
parent37e99c22df4ce5a87f5e56efbc2c0e836ed5b68f
virtio: fix the tcp/udp checksum offloads

Some vhost-backend calculates the wrong checksum in
case of tcp/udp offload when driver resets tcp/udp
checksum field to '0'.

Type: fix

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I3c45df487f00d7e3d949b4efb32d7f7e01d1108b
src/vnet/devices/virtio/vhost_user_input.c