Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2023 10:44:42 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e23e0e3c9cbf - stable/13 - pf_purge_expired_states(): fix build without SDT probes
Message-ID:  <202311181044.3AIAigtH047278@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

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

commit e23e0e3c9cbf1ca79e1029c89b19c88a28c18e9f
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-11-09 20:17:53 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-11-18 10:43:51 +0000

    pf_purge_expired_states(): fix build without SDT probes
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit af21145f33d75c8d754b2371d03c181cd0c730e7)
---
 sys/netpfil/pf/pf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c
index 80f4a8fa0626..1323a1003af8 100644
--- a/sys/netpfil/pf/pf.c
+++ b/sys/netpfil/pf/pf.c
@@ -2131,7 +2131,7 @@ pf_purge_expired_states(u_int i, int maxcheck)
 {
 	struct pf_idhash *ih;
 	struct pf_kstate *s;
-	size_t count;
+	size_t count __unused;
 
 	V_pf_status.states = uma_zone_get_cur(V_pf_state_z);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311181044.3AIAigtH047278>