diff options
Diffstat (limited to 'src/vnet/ip/ip.h')
-rw-r--r-- | src/vnet/ip/ip.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/ip/ip.h b/src/vnet/ip/ip.h index 22daaabc096..587ec85c229 100644 --- a/src/vnet/ip/ip.h +++ b/src/vnet/ip/ip.h @@ -213,7 +213,6 @@ ip_calculate_l4_checksum (vlib_main_t * vm, vlib_buffer_t * p0, n_this_buffer = n_ip_bytes_this_buffer - ip_header_size; if (PREDICT_FALSE (n_this_buffer >> 31)) { /* error - ip header don't fit this buffer */ - ASSERT (0); return 0xfefe; } } @@ -235,7 +234,6 @@ ip_calculate_l4_checksum (vlib_main_t * vm, vlib_buffer_t * p0, if (!(p0->flags & VLIB_BUFFER_NEXT_PRESENT)) { - ASSERT (0); /* error - more buffer expected */ return 0xfefe; } |