gso: fix the checksum for odd number of data bytes

Type: fix

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I07b694323e0f6745dec2b846785026b152d78af6
This commit is contained in:
Mohsin Kazmi
2022-10-06 15:43:36 +00:00
committed by Beno�t Ganne
parent 82ec908acb
commit 6b8874eb2d

View File

@ -119,6 +119,7 @@ gso_fixup_segmented_buf (vlib_main_t *vm, vlib_buffer_t *b0, u32 next_tcp_seq,
tcp->flags = tcp_flags;
tcp->seq_number = clib_host_to_net_u32 (next_tcp_seq);
c->odd = 0;
if (is_ip6)
{