gso: clear the offload flags from segmented buffers

Type: fix

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I2901628d23f9b81edb32d0ced3877e5799a6cec7
This commit is contained in:
Mohsin Kazmi
2022-09-29 13:56:24 +00:00
committed by Beno�t Ganne
parent a2eb507055
commit a30495ce0d

View File

@ -744,6 +744,7 @@ vnet_gso_node_inline (vlib_main_t * vm,
{
sbi0 = to_next[0] = from_seg[0];
sb0 = vlib_get_buffer (vm, sbi0);
vnet_buffer_offload_flags_clear (sb0, 0x7F);
ASSERT (sb0->current_length > 0);
to_next += 1;
from_seg += 1;