From d6eed1bb207291e4541f45f229d71358bfb35165 Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Tue, 1 Feb 2022 19:06:58 +0000 Subject: gso: remove the assert if packet is geneve or gre encaped Type: fix Signed-off-by: Mohsin Kazmi Change-Id: I3265d4a3843b07c2e0050e297f1e014fc5b31cf7 --- src/vnet/gso/hdr_offset_parser.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/vnet/gso/hdr_offset_parser.h') 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 -- cgit 1.2.3-korg