From nobody Fri Oct 18 16:25:42 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XVVS64z8fz5ZQ8s; Fri, 18 Oct 2024 16:25:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVVS64Sqfz4mcc; Fri, 18 Oct 2024 16:25:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729268742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xXB/k/P/XW9+iEkeji5CdpsTA+WHwPdeUMB27aI/We8=; b=V64zboR3rBBXCcT6SCELTIXu/ewlX5+2T7Li8WxyATVVZGNQ/K44FQxBj7xcTjJkSUa1GQ HV3s5UHEChXkIoA6bIokBLcBM3dZMwIwJ0hTbSy6jo8UutM4eh68DT68scp+310Ka1y01+ Ihzc/nch3t0sSvRy/OB0z1TCEqaos98qIlDAse1RKgDDChqKDvlQvYy1f3LUHGIC+mLXnJ wi6FUXVFKm9BEwtmtM4BLuawFMniVdgt2RdliT26yclFJC1zchKbEPM+qPpomO3genNAwc upfyXQGfR0sDwPyPtr87PJWGG/b4ChNm3JN76c7xxLd5dUoZa3bSB/D8wm3KIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729268742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xXB/k/P/XW9+iEkeji5CdpsTA+WHwPdeUMB27aI/We8=; b=W28y/U+RqKlEouoC/fxqSed8at6848/Cjk7aeGEiM52da2mH6IKEIuQzQFu47DWMD5xckb 5E2j1DUoGkJeQ3OPJVPtifOGJkml0KdMS7hcIxIuPh/RO0RW+O9rHY3yKoz3W95lgBov4f vWs6Khd+OKaxSBMrVTD/kJFNTr8IuZikEEL/aMUucMQyx06d7LctyVJCVHg7LeVQdyRt4f cIyz46R9JrtEOotKFNHsqCyQaWFmUnb46v9ai97Sic1EZbydgXQnmc8eKaDRcyGdyuQKQO 0bnBDda+7duigGx5/qPsGTX0x0qpTaNcMvUTSdJsh8kAj9XJoaqO78LZqOMzwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729268742; a=rsa-sha256; cv=none; b=EKy5ikxXRZbKcwFXI4W9nKn9cSMWJspXnBFiS2rZYUWbIOlg5gsWaxpENeBF6JV4riLPH3 RQ8scVL/XQA67+sWEIVx4HMoT6nkRWzQMEVuGW1tr9stZIy+S//Eh1ZwN7SQcQ4p7IcB3l MLC/3vVnJDx76ISLQahJZ+4xtTwOM+BgGYA5fZsFhJS4XKvHX+5y6olr6MmmPlPRetrJAa z1q1+SI76AmmJpboL6AUFel8rDW9pt+WuIDU+UQaYVta8yvWDmzHGokmvGgxkmxz0mJPam 9iH+KohaPueujW9ZAKTQatFTi58n2vFpTcj66HuKpXvkiavXA7OFhTvsJmdzTQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XVVS644bZzh3L; Fri, 18 Oct 2024 16:25:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49IGPguj069586; Fri, 18 Oct 2024 16:25:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49IGPgWn069583; Fri, 18 Oct 2024 16:25:42 GMT (envelope-from git) Date: Fri, 18 Oct 2024 16:25:42 GMT Message-Id: <202410181625.49IGPgWn069583@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Igor Ostapenko Subject: git: 8829d4cb09d3 - main - pf tests: Lower chances of false positives for mbuf:inet6_in_mbuf_len List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: igoro X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8829d4cb09d39801d3b6bcf8ab8c6b72dd757636 Auto-Submitted: auto-generated The branch main has been updated by igoro: URL: https://cgit.FreeBSD.org/src/commit/?id=8829d4cb09d39801d3b6bcf8ab8c6b72dd757636 commit 8829d4cb09d39801d3b6bcf8ab8c6b72dd757636 Author: Igor Ostapenko AuthorDate: 2024-10-18 16:24:11 +0000 Commit: Igor Ostapenko CommitDate: 2024-10-18 16:24:11 +0000 pf tests: Lower chances of false positives for mbuf:inet6_in_mbuf_len Reviewed by: kp Approved by: kp (mentor) Differential Revision: https://reviews.freebsd.org/D47175 --- tests/sys/netpfil/pf/mbuf.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/sys/netpfil/pf/mbuf.sh b/tests/sys/netpfil/pf/mbuf.sh index a4664718093a..d845f793a969 100644 --- a/tests/sys/netpfil/pf/mbuf.sh +++ b/tests/sys/netpfil/pf/mbuf.sh @@ -119,6 +119,11 @@ inet6_in_mbuf_len_body() "pass quick inet6 proto icmp6 icmp6-type { neighbrsol, neighbradv }" atf_check -s not-exit:0 -o ignore ping -c1 -t1 2001:db8::2 + # Avoid redundant ICMPv6 packets to avoid false positives during + # counting of net.dummymbuf.hits. + ndp -i ${epair}a -- -nud + jexec alcatraz ndp -i ${epair}b -- -nud + # Should be allowed by from/to addresses pft_set_rules alcatraz \ "block" \