From 6b8874eb2d47cc46b9c1e0ddd7c95b136625c7c1 Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Thu, 6 Oct 2022 15:43:36 +0000 Subject: gso: fix the checksum for odd number of data bytes Type: fix Signed-off-by: Mohsin Kazmi Change-Id: I07b694323e0f6745dec2b846785026b152d78af6 --- src/vnet/gso/gso.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet') diff --git a/src/vnet/gso/gso.h b/src/vnet/gso/gso.h index 041fab3bcc4..883a4941ee2 100644 --- a/src/vnet/gso/gso.h +++ b/src/vnet/gso/gso.h @@ -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) { -- cgit 1.2.3-korg