HomeFreeBSD

pfctl: fix killing states by ID

Description

pfctl: fix killing states by ID

Since the conversion to the new DIOCKILLSTATESNV the kernel no longer
exists the id and creatorid to be big-endian.
As a result killing states by id (i.e. pfctl -k id -k 12345) no longer
worked.

Reported by: Özkan KIRIK
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit e59eff9ad3285838730acf48f6d066cec0e53114)

Details

Provenance
kpAuthored on Aug 24 2021, 10:24 AM
Parents
rG6f89edcd836e: pmap_extract.9: Fix pmap_extract_and_hold()'s function type
Branches
Unknown
Tags
Unknown