gso: fix the header parser to read only 53/26153/2
authorMohsin Kazmi <sykazmi@cisco.com>
Wed, 25 Mar 2020 20:37:16 +0000 (20:37 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Mon, 30 Mar 2020 11:39:22 +0000 (11:39 +0000)
commit0937fdfa86ce61c54f37d142aabae45463a959e5
tree2aacbc36145319c9fac0ffe7dafd8d74b7e43b2b
parent7654a718669f0dc950344c049186b9452bf48ca9
gso: fix the header parser to read only

Previously, header parser sets the tcp/udp checksum to 0.
It should be read only function for vlib_buffer_t.

Type: fix

Change-Id: I9c3398372f22998da3df188f0b7db13748303068
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
src/vnet/devices/virtio/device.c
src/vnet/devices/virtio/vhost_user_output.c
src/vnet/gso/gso.h