From nobody Fri Apr 17 11:55:39 2026 X-Original-To: dev-commits-src-main@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 4fxtcX2hMxz6Zd0t for ; Fri, 17 Apr 2026 11:55:40 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fxtcX0Nz2z4727 for ; Fri, 17 Apr 2026 11:55:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776426940; 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=9LyEIXU9e2Lx/8CSZ7U/on8RTigfV+aJdqyOpkHKjT8=; b=jp844tQ/Gw7Kyk+2/AUaaJW3NVzLmB1h4k4xiahWp+xyEtloJ2gdv8ZVZIGUkJYCpKbzps ctG88WDqDv50R252oLvpVr7gzQVgZAIfC/t2USiR07svVEGNAwKtdflE4ch837eOl8bor+ 4773KzWFxPar0oiX5IgY6ABDeTbmrZE2LQEAL42/QnbOkKWKlYD+vDgTotTZK8uJ1F2oij emvMO7cNgaIntAprPFB/5jjp+wT78sKD5IQRyh5pJa79IpqO4qL1tj1wUli39FRloEbuLM KFw9K5XR+qxrh1tZTsW7k1unmH1wQOB2lFH3DOyj5kUkXngx9eJuIdHNiKDuyQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776426940; a=rsa-sha256; cv=none; b=no1K5epo5tY/ExaWa3RpQSxnBBM0QLiEpE/iPyhjlq7wPJ9+blVPnff4SfQfVFJjr5jJIu W5pTbORZR69lfjlMRaLJlk7AVYXBpj3ppPKWe1gVlUgEEgOGHSUvlejpF5FV0FU4TTDjI1 BZ4Gjpu+MY2TuoqIbw4JoZIt6u8ieh77oOGyClEfRDitBiBDaAf6zuA2PRnKCuDP7i/Eok BzfW0rBUtA0vSXmDwKqFZZXDUBGf2YZ8QDhnP3GD1GTXOGDZ2f5y+ltgyinhgMe8nCGKDe fDdCqKQTTgc6Xfr4d/D6rCGn1tLzzteir1bVyPaBYMymNou9g58RKkvuXRVt5Q== 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=1776426940; 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=9LyEIXU9e2Lx/8CSZ7U/on8RTigfV+aJdqyOpkHKjT8=; b=hkJ2SQH2YupHkFJE1uOIe+iQY/73aIGgHiaBG+UMnP9MsQYayqw+84Mi2HnNMBKq20FTWP smpl1ogOs/efYdw2bej82Dh8iLkmmj9MeAvPuxrP3+3QTtBE88GwNGWoAyfZPyZThVITVA oowmSk7wsGcvTgjOGsisx5U7BWSvRLDz2szgNEVq3jpZaduVKznG+ZsbIVTkzIEhsBW+Qq F2sTL6DzyF9l1SnaJG7B0atIQgqVN340hjT7W8bnzlevxinW1UwVSBScesAv5iSn/bX9J5 QzfrSMEh2m4+KkAMKC3vZ7+gDmfse14w9qg/W2DwxkgMeS0JvO57KLo0HLw4Xg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fxtcW6Qljzss9 for ; Fri, 17 Apr 2026 11:55:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3a696 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 17 Apr 2026 11:55:39 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: 13b4a14c719a - main - libpfctl: fix add state/source limiter List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 13b4a14c719ab7c65ccaab86ddc79f0edc312aa3 Auto-Submitted: auto-generated Date: Fri, 17 Apr 2026 11:55:39 +0000 Message-Id: <69e21fbb.3a696.318383b4@gitrepo.freebsd.org> The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=13b4a14c719ab7c65ccaab86ddc79f0edc312aa3 commit 13b4a14c719ab7c65ccaab86ddc79f0edc312aa3 Author: Kristof Provost AuthorDate: 2026-04-16 12:30:35 +0000 Commit: Kristof Provost CommitDate: 2026-04-17 11:55:05 +0000 libpfctl: fix add state/source limiter When processing the return data from these calls pass the limiter pointer, not the limiter pointer pointer. Sponsored by: Rubicon Communications, LLC ("Netgate") --- lib/libpfctl/libpfctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libpfctl/libpfctl.c b/lib/libpfctl/libpfctl.c index cd484949e4da..59783592a370 100644 --- a/lib/libpfctl/libpfctl.c +++ b/lib/libpfctl/libpfctl.c @@ -4084,7 +4084,7 @@ pfctl_state_limiter_add(struct pfctl_handle *h, struct pfctl_state_lim *lim) return (ENXIO); while ((hdr = snl_read_reply_multi(&h->ss, seq_id, &e)) != NULL) { - if (! snl_parse_nlmsg(&h->ss, hdr, &statelim_parser, &lim)) + if (! snl_parse_nlmsg(&h->ss, hdr, &statelim_parser, lim)) continue; } @@ -4153,7 +4153,7 @@ pfctl_source_limiter_add(struct pfctl_handle *h, struct pfctl_source_lim *lim) return (ENXIO); while ((hdr = snl_read_reply_multi(&h->ss, seq_id, &e)) != NULL) { - if (! snl_parse_nlmsg(&h->ss, hdr, &sourcelim_parser, &lim)) + if (! snl_parse_nlmsg(&h->ss, hdr, &sourcelim_parser, lim)) continue; }