gso: remove the assert if packet is geneve or gre encaped 72/35172/1
authorMohsin Kazmi <sykazmi@cisco.com>
Tue, 1 Feb 2022 19:06:58 +0000 (19:06 +0000)
committerMohsin Kazmi <sykazmi@cisco.com>
Tue, 1 Feb 2022 19:06:58 +0000 (19:06 +0000)
Type: fix

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I3265d4a3843b07c2e0050e297f1e014fc5b31cf7

src/vnet/gso/hdr_offset_parser.h

index e846aaa..b9b885c 100644 (file)
@@ -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