CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2025/04/30 19:10:08

Modified files:
        sys/net        : pf.c 

Log message:
refactor some code in pf_test to test the pf_state pointer fewer times.

there should be no functional change with this diff.

note that pf_state structs always have valid references to pf_state_keys
until the pf_state itself is destroyed after pf.c r1.1157. this means we
don't have to test if the st->key[PF_SK_STACK] pointers are valid
anymore, we can just use them.

ok sashan@

Reply via email to