aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2022-09-29 13:56:24 +0000
committerBeno�t Ganne <bganne@cisco.com>2022-09-29 16:31:20 +0000
commita30495ce0dd15240c5d03a5f3e17c3428e09dd5c (patch)
treeabbdb57a174a979cfc9eb90c2d311697d158b5a6 /src
parenta2eb507055c9467997711548d63420216ab7b4e9 (diff)
gso: clear the offload flags from segmented buffers
Type: fix Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: I2901628d23f9b81edb32d0ced3877e5799a6cec7
Diffstat (limited to 'src')
-rw-r--r--src/vnet/gso/node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/gso/node.c b/src/vnet/gso/node.c
index d755784d0cb..7e66bb9fe00 100644
--- a/src/vnet/gso/node.c
+++ b/src/vnet/gso/node.c
@@ -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;