CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2026/04/22 17:06:01

Modified files:
        sys/net        : if_pfsync.c 

Log message:
pf_purge_states() may trip assert(st->timeout == PFTM_UNLINKED)
in pf_free_state(). Once member ->timeout in pf_state structure
reaches PFTM_UNLINKED value, then the ->timeout member must not
not be updated. This diff reminds pfsync(4) to follow PFTM_UNLINKED
rule too. The pfsync(4) currently may accidentally update ->timeout
member while state is being purged, causing pf_purge_states() to
trip the assert.

Issue was kindly reported by Stuart Henderson.

OK @bluhm

Reply via email to