git: 75d15e893b14 - main - netpfil tests: disable ICMPv6 rate limiting in the test jail

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Mon, 25 Mar 2024 02:56:04 UTC
The branch main has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=75d15e893b14188b83c5fb5e4979fa21c557934f

commit 75d15e893b14188b83c5fb5e4979fa21c557934f
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2024-03-25 02:54:34 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2024-03-25 02:54:34 +0000

    netpfil tests: disable ICMPv6 rate limiting in the test jail
    
    The dummynet test uses flood ping as source of traffic, so the rate
    limiting of ICMP replies broke the test.
    
    Fixes:  32aeee8ce7e72738fff236ccd5629d55035458f8
---
 tests/sys/netpfil/common/dummynet.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/sys/netpfil/common/dummynet.sh b/tests/sys/netpfil/common/dummynet.sh
index e5ffd3836dfc..3c930cfe2aff 100644
--- a/tests/sys/netpfil/common/dummynet.sh
+++ b/tests/sys/netpfil/common/dummynet.sh
@@ -387,6 +387,7 @@ queue_v6_body()
 	jexec alcatraz ifconfig ${epair}b inet6 2001:db8:42::2 no_dad up
 	jexec alcatraz /usr/sbin/inetd -p inetd-alcatraz.pid \
 	    $(atf_get_srcdir)/../pf/echo_inetd.conf
+	jexec alcatraz sysctl net.inet6.icmp6.errppslimit=0
 
 	# Sanity check
 	atf_check -s exit:0 -o ignore ping6 -i .1 -c 3 -s 1200 2001:db8:42::2