From 755042dec0fcc733d456adc2a74042c529eff039 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Wed, 1 Dec 2021 10:14:38 +0000 Subject: ip: reassembly: drop zero length fragments Zero length fragments are invalid and should be dropped. This patch adds that. Type: improvement Change-Id: Ic6466c39ca8bf376efe06bb3b7f5d7f1ae812866 Signed-off-by: Klement Sekera --- src/vnet/ip/ip6_error.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/ip/ip6_error.h') diff --git a/src/vnet/ip/ip6_error.h b/src/vnet/ip/ip6_error.h index 8546b4af8d3..6e5df0ef6ba 100644 --- a/src/vnet/ip/ip6_error.h +++ b/src/vnet/ip/ip6_error.h @@ -89,6 +89,7 @@ _ (REASS_NO_BUF, "out of buffers (drop)") \ _ (REASS_TIMEOUT, "fragments dropped due to reassembly timeout") \ _ (REASS_INTERNAL_ERROR, "drops due to internal reassembly error") \ + _ (REASS_INVALID_FRAG_LEN, "invalid fragment length") \ _ (REASS_UNSUPP_IP_PROTO, "unsupported ip protocol") // clang-format on -- cgit 1.2.3-korg