git: d18b1958ade2 - stable/14 - pf: uncomment counter asserts after mem leak fix
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Feb 2024 21:34:01 UTC
The branch stable/14 has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=d18b1958ade203f16f24276661e553c076d5d7a9
commit d18b1958ade203f16f24276661e553c076d5d7a9
Author: Igor Ostapenko <pm@igoro.pro>
AuthorDate: 2024-01-30 21:04:57 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2024-02-13 21:32:15 +0000
pf: uncomment counter asserts after mem leak fix
Reviewed by: kp
Differential Revision: https://reviews.freebsd.org/D43657
(cherry picked from commit 9d784da3a7af9b9b04536c2e97459a7d9f92e364)
---
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 a397b9e99261..1a383ae6fd09 100644
--- a/sys/netpfil/pf/pf_ioctl.c
+++ b/sys/netpfil/pf/pf_ioctl.c
@@ -6914,13 +6914,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();