From 816b5d613c3a977811af0494e2d215aac6684515 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Mon, 24 Apr 2023 16:02:44 +0200 Subject: [PATCH] ip: change icmp4 throttle traceroute sends 3 packets rapidly that triggers and depends on ICMP error generation. The current ICMP4 throttle setting at 1-e3 throttles the last ICMP error and makes traceroute sit in a timeout. Type: fix Change-Id: Ie886303600ad0374dcb6ae311e949154727a93d2 Signed-off-by: Ole Troan --- src/vnet/ip/icmp4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vnet/ip/icmp4.c b/src/vnet/ip/icmp4.c index 562cbce66e2..7dc21c53df1 100644 --- a/src/vnet/ip/icmp4.c +++ b/src/vnet/ip/icmp4.c @@ -590,7 +590,7 @@ icmp4_init (vlib_main_t * vm) vlib_thread_main_t *tm = &vlib_thread_main; u32 n_vlib_mains = tm->n_vlib_mains; - throttle_init (&icmp_throttle, n_vlib_mains, THROTTLE_BITS, 1e-3); + throttle_init (&icmp_throttle, n_vlib_mains, THROTTLE_BITS, 1e-5); return 0; } -- 2.16.6