summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip6_error.h
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2021-12-01 10:14:38 +0000
committerOle Tr�an <otroan@employees.org>2021-12-14 09:10:30 +0000
commit755042dec0fcc733d456adc2a74042c529eff039 (patch)
treeb5d51eb10f428964e2d4283bf66bda830748399a /src/vnet/ip/ip6_error.h
parentb97bec0ae58aa7e5a1aca48686143d7b89567ac7 (diff)
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 <ksekera@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip6_error.h')
-rw-r--r--src/vnet/ip/ip6_error.h1
1 files changed, 1 insertions, 0 deletions
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