aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/gso
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2022-02-01 19:06:58 +0000
committerMohsin Kazmi <sykazmi@cisco.com>2022-02-01 19:06:58 +0000
commitd6eed1bb207291e4541f45f229d71358bfb35165 (patch)
tree367622d75e0078132388d91d1eabeaa7154e1fba /src/vnet/gso
parentc4a48f2c397e6ec219ed64be65a1cc23847f595a (diff)
gso: remove the assert if packet is geneve or gre encaped
Type: fix Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: I3265d4a3843b07c2e0050e297f1e014fc5b31cf7
Diffstat (limited to 'src/vnet/gso')
-rw-r--r--src/vnet/gso/hdr_offset_parser.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vnet/gso/hdr_offset_parser.h b/src/vnet/gso/hdr_offset_parser.h
index e846aaa6fd2..b9b885cc58c 100644
--- a/src/vnet/gso/hdr_offset_parser.h
+++ b/src/vnet/gso/hdr_offset_parser.h
@@ -155,8 +155,6 @@ vnet_geneve_inner_header_parser_inline (vlib_buffer_t * b0,
/* not supported yet */
if ((gho->gho_flags & GHO_F_GENEVE_TUNNEL) == 0)
return;
-
- ASSERT (0);
}
static_always_inline void
@@ -166,8 +164,6 @@ vnet_gre_inner_header_parser_inline (vlib_buffer_t * b0,
/* not supported yet */
if ((gho->gho_flags & GHO_F_GRE_TUNNEL) == 0)
return;
-
- ASSERT (0);
}
static_always_inline void