[Bug 274310] pf leaks memory

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 06 Oct 2023 16:25:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274310

            Bug ID: 274310
           Summary: pf leaks memory
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: thj@FreeBSD.org

Created attachment 245467
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245467&action=edit
Script to run pf tests and check for module memory leaks

pf can leak memory, this can be seen by running the test suite and unloading
the pf kernel mode.


With the attached script the following pf tests trigger memory leaks:


- sys/netpfil/pf/anchor:pr183198 
- sys/netpfil/pf/anchor:nested_anchor 
- sys/netpfil/pf/anchor:wildcard 
- sys/netpfil/pf/nat:nested_anchor 
- sys/netpfil/pf/pass_block:nested_inline 
- sys/netpfil/pf/rules_counter:get_clear 
- sys/netpfil/pf/table:anchor

-- 
You are receiving this mail because:
You are the assignee for the bug.