From nobody Thu Feb 12 14:16:17 2026 X-Original-To: dev-commits-src-branches@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 4fBcmK2VGsz6Rh9b for ; Thu, 12 Feb 2026 14:16:17 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fBcmK1jB3z3rNY for ; Thu, 12 Feb 2026 14:16:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770905777; 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=dfapKCPeL8PPGQGtlJgYYTJVnOKgnA2C8/Qcb+GYF/0=; b=ail+4CIPksIWHJMbe13S6r9LtktPD92TQhRjp8Hux08hHX/xpT08elNUY2fQKiJplBSwNQ 9BSReaLWie8w44HSJC8oh0F9/4RtShiT7h3P4IldWKg1LBPjTxH86Aa1McaqPCRfEN4lpq UuswCLfl8Ed7b4uDpn/5fZpZ5bkq6QJw51bEwSqwlSnkqQY7n9agKoiugkwWQGV1nUHFGX uFXyCO127ItNtmoAuRr3E+KsK8bbTcbktBPYmQ84GeLw2zdhXaXGApGVWJmW96J27YIeqM oRHZI/5oUUOpcbAtQqi2j8MKorNDp73dwwMJTIEPg3gH2zvJ+CqV0Y1zfFpbYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770905777; a=rsa-sha256; cv=none; b=YvCROL+Um2afRtmKPhMesmrQI+VqMuWlDg0lCmYw+Jf6Lc8a5PuPHZvs3J+h/7D4xJX9/Y BNTENXDdaI9wJ8pXRbxvC4jiwIMxChOM6pG+9zbFRLcF5GkMraLXlEWQ+Kbm33zctcaina ujxDfK+6vQslwTF43pgSMAwdCXPNSbV6NRc3vi+yMPafHtR0dhowz6fR0YlH1Cl9ZjTrEb UXISMsvJhjeeK2EK5yhFukhpCdUmd9fXqwTvaF/nA8dzhOqWMSpQVLJRhXP8JeVsgw0EWz rSjPK6YMsqP/H+T9UhbzD5W334xEBk55mE9hG6whkO5kp/wPxbqmi4CYh8Aorg== 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=1770905777; 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=dfapKCPeL8PPGQGtlJgYYTJVnOKgnA2C8/Qcb+GYF/0=; b=eAAubyRbsXftfI56hov6kphCTojYMt8z2oBE5OJfdSyhrkHDz8tU4Fv3JCFDgq9qoIvYSW bNK5xySlywuGrTJcoeTkRtIqwGe/EQqzJEJVKW4/fF0v5gmTbO5zuuu1mvTHxI/lhOl01b VRmq5Zx7OJjNRnAKMfdtbtkLqOCi8z9mSvvkMl+K3WIvqQM30qH5cd9u+o32I4+7qT6aay XpJb7duWurjRpE1Z0ELdHqPizzduNL6NshPRZdwPEQ09Ra5JK0wrjN3ijaavImtxLO5OuJ JrMwLg2hnqVSeagsJD9I5voDqXB1ljGu4GYQK1FgKBbamlEtMxM650MifVaFiw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fBcmK13rLzfxR for ; Thu, 12 Feb 2026 14:16:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3e71f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 12 Feb 2026 14:16:17 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kristof Provost Subject: git: ff2f3a6cc1b7 - stable/15 - pf: fix pcounters array size List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: ff2f3a6cc1b7625c1f8c01f1b35bb33e4e31a1a1 Auto-Submitted: auto-generated Date: Thu, 12 Feb 2026 14:16:17 +0000 Message-Id: <698de0b1.3e71f.6c7ff669@gitrepo.freebsd.org> The branch stable/15 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=ff2f3a6cc1b7625c1f8c01f1b35bb33e4e31a1a1 commit ff2f3a6cc1b7625c1f8c01f1b35bb33e4e31a1a1 Author: Kristof Provost AuthorDate: 2025-12-21 10:27:19 +0000 Commit: Kristof Provost CommitDate: 2026-02-12 13:47:53 +0000 pf: fix pcounters array size It's a 2 * 2 * 2, not 2 * 2 * 3. We only use PF_DROP and PF_PASS, so two rows suffices. Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 622d7fa18d33cd8c4e1195888068fe1fe7c631a1) --- sys/netpfil/pf/pf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netpfil/pf/pf.h b/sys/netpfil/pf/pf.h index 8edd5a5110a1..f8646b782fce 100644 --- a/sys/netpfil/pf/pf.h +++ b/sys/netpfil/pf/pf.h @@ -284,7 +284,7 @@ struct pf_status { uint64_t lcounters[LCNT_MAX]; uint64_t fcounters[FCNT_MAX]; uint64_t scounters[SCNT_MAX]; - uint64_t pcounters[2][2][3]; + uint64_t pcounters[2][2][2]; uint64_t bcounters[2][2]; uint32_t running; uint32_t states;