git: 9d784da3a7af - main - pf: uncomment counter asserts after mem leak fix

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Tue, 30 Jan 2024 21:59:26 UTC
The branch main has been updated by kp:

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

commit 9d784da3a7af9b9b04536c2e97459a7d9f92e364
Author:     Igor Ostapenko <pm@igoro.pro>
AuthorDate: 2024-01-30 21:04:57 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2024-01-30 21:58:50 +0000

    pf: uncomment counter asserts after mem leak fix
    
    Reviewed by:    kp
    Differential Revision:  https://reviews.freebsd.org/D43657
---
 sys/netpfil/pf/pf_ioctl.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/sys/netpfil/pf/pf_ioctl.c b/sys/netpfil/pf/pf_ioctl.c
index 20e0b902bd60..7f70321ea560 100644
--- a/sys/netpfil/pf/pf_ioctl.c
+++ b/sys/netpfil/pf/pf_ioctl.c
@@ -6706,13 +6706,8 @@ pf_unload_vnet(void)
 	V_pf_allrulecount--;
 	LIST_REMOVE(V_pf_rulemarker, allrulelist);
 
-	/*
-	 * There are known pf rule leaks when running the test suite.
-	 */
-#ifdef notyet
 	MPASS(LIST_EMPTY(&V_pf_allrulelist));
 	MPASS(V_pf_allrulecount == 0);
-#endif
 
 	PF_RULES_WUNLOCK();