From nobody Tue May 5 21:26:33 2026 X-Original-To: bugs@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 4g9BQx45z7z6cgPb for ; Tue, 05 May 2026 21:26:33 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g9BQx1RGRz3xWJ for ; Tue, 05 May 2026 21:26:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778016393; 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: in-reply-to:in-reply-to:references:references; bh=U5idBO8kzuP1cLZzOkUmlhHbK93nDIJQ1f0NViZpKWs=; b=Vp4p+4j5L1c4F67sR4AfxMCtZ+Y0zUtPhjipmA7T3818cMdq0mXWeasLE+7vSqZ6yrlmyl AEzDS651Ko+Yvxa0zQ/lyYBBGhE6Brz+mYFOGut1f5BhWJFNcWeKhnt1YtHpeqi3S+554k vTkD6vx8U3zA2o15S7FhqJttXhAFsvgtNNH80Z4/f12nhtyUr/K709tc6xJ9OnSwG5msOq h1iCNzYujbufMRE3bnbCKvs5R5bdPM8lQGrthVePR/ABgZNje92MLbI87qK55VLlZXUprw oJyq4n1kOVjbiyNYn1gfnDoauccg07Fiay1blHvPHZTEXsbQf5HmHqhdDXCMZA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1778016393; a=rsa-sha256; cv=none; b=X8ccvN0ab/M0usO6ee/Io5fST1HBLOHpCmJTerwZ0aqwVYgK8ciMXq+Z5rZQUqXAJpYOor puTNjKVIbDxpCsPBl8Xjla5ZuLCsKLnhw1ve0VeuRXTEpHIkKEYFR6jBzhG6gu6NtzOKUW vlMBgciDXFr/m7hdmx6wYuSx3MDNos2p6lB58RBJzra6758pkCuARU7udIMqfHRYJNflQO olxi0K9rnllD1xIZOO7eKsQmXLPjl0R/cEfV1jGs+38GnibxmcFDif3n927p3kkRK1qOWR sh3fMzLwghMmTtnGeL7llxRUJn59x6PYFYUV5FS7L4yYBZRJcgXnAZAaPc3jDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778016393; 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: in-reply-to:in-reply-to:references:references; bh=U5idBO8kzuP1cLZzOkUmlhHbK93nDIJQ1f0NViZpKWs=; b=EkhtnltVWwa9mwjXOpYkCbXe3abS92BwSGGZBHTWL4MF/1oQLN8SEf8ozkUt+rj0cx6xw7 UPiTk2pwoPnVaTktEQYp0n2qxFo8HRVwVTQItXe7qqR8M/THgc08AV/0X97OTRrz+mViLi GZ4PI2SuSPmGdd0BOy/QRukrm+mom5FiSXEQXLx4S7+SW5DfhkUYBU4mySu+/rvBtkw6so He7ESXNuMoIh+U/R9xUkFf30LAnNS6qyUGdEbVOP9IXR4Lv4/R1+mcHr5K/ZXtGSpT6r3f ml90l9fTUYDPqSVkC47034bPDnvDTS40DTenIFwXGsb2GlqqVIT6BqWekModmQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4g9BQx0wpCz1NHX for ; Tue, 05 May 2026 21:26:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 645LQX9P003497 for ; Tue, 5 May 2026 21:26:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 645LQXAn003496 for bugs@FreeBSD.org; Tue, 5 May 2026 21:26:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 294858] pfctl -o none fails to skip optimization Date: Tue, 05 May 2026 21:26:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294858 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Da0e4c65f1814a7a677364dc29bb703f84= 323d175 commit a0e4c65f1814a7a677364dc29bb703f84323d175 Author: Kristof Provost AuthorDate: 2026-04-29 15:04:44 +0000 Commit: Kristof Provost CommitDate: 2026-05-05 20:20:42 +0000 pf: do not reject rules with colliding hashes We insert rules in pf_krule_global solely for the benefit of the 'keepcounters' feature. Failing to insert (beause the rule hash collides, or an identical rule already exists) would be worse than restoring counts to the wrong rule (or failing to restore them at all). PR: 282863, 294860, 294859, 294858 MFC after: 3 days Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D56745 sys/netpfil/pf/pf_ioctl.c | 24 ++++++++---------------- tests/sys/netpfil/pf/match.sh | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 16 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=