summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2022-05-04 11:26:09 +0200
committerNeale Ranns <neale@graphiant.com>2022-05-05 00:16:27 +0000
commit0ec1c6dc68570b8b824ff55205b4b133bffbf9e4 (patch)
treec611c5222225252ed632adfb572679e0efcb6031 /src/vnet
parent6e7ebb00af73507eb67309c3f245388747b0aeab (diff)
udp: remove buggy assert in udp encap
It looks like in a distant past we were using a vnet_rewrite but this no longer the case. Type: fix Change-Id: Ib8d336aec7d5abd7749f543739f531144e76e551 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/udp/udp_inlines.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/udp/udp_inlines.h b/src/vnet/udp/udp_inlines.h
index 915f891f8b9..025809e1873 100644
--- a/src/vnet/udp/udp_inlines.h
+++ b/src/vnet/udp/udp_inlines.h
@@ -142,8 +142,6 @@ ip_udp_encap_two (vlib_main_t *vm, vlib_buffer_t *b0, vlib_buffer_t *b1,
udp_header_t *udp0, *udp1;
int payload_ip4 = (payload_family == AF_IP4);
- ASSERT (vec_len (ec0) == vec_len (ec1));
-
if (payload_family < N_AF)
{
vnet_calc_checksums_inline (vm, b0, payload_ip4, !payload_ip4);