HomeFreeBSD

pf: Use a macro to get the hash row in pf_find_state_byid()

Description

pf: Use a macro to get the hash row in pf_find_state_byid()

This seems a bit preferable to open-coding it. No functional change
intended.

Reviewed by: kp, glebius
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D49518

(cherry picked from commit 27f70efebf1d9424462f291e9d04e62272083aa7)

Details

Provenance
markjAuthored on Sat, Mar 29, 8:52 AM
Reviewer
kp
Differential Revision
D49518: pf: Use a macro to get the hash row in pf_find_state_byid()
Parents
rG24b82123a83e: i386: Avoid registering overlapping vm_phys_seg entries
Branches
Unknown
Tags
Unknown