From: Mohsin Kazmi Date: Tue, 1 Feb 2022 19:06:58 +0000 (+0000) Subject: gso: remove the assert if packet is geneve or gre encaped X-Git-Tag: v22.10-rc0~428 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=d6eed1bb207291e4541f45f229d71358bfb35165;p=vpp.git gso: remove the assert if packet is geneve or gre encaped Type: fix Signed-off-by: Mohsin Kazmi Change-Id: I3265d4a3843b07c2e0050e297f1e014fc5b31cf7 --- 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