HomeFreeBSD

libpfctl: be more tolerant of kernel extensions

Description

libpfctl: be more tolerant of kernel extensions

Allow the kernel to supply more array elements than expected, but cut
off when we hit what we think the maximum is. This will improve forward
compatibility (i.e. old userspace with newer kernel).

Reviewed by: zlei
MFC after: 1 week
Sponsored by: Orange Business Services
Differential Revision: https://reviews.freebsd.org/D42392

Details

Provenance
kpAuthored on Oct 27 2023, 12:13 PM
Reviewer
zlei
Differential Revision
D42392: libpfctl: be more tolerant of kernel extensions
Parents
rG483d5c4075e0: pf tests: ensure that we generate all permutations for SCTP multihome
Branches
Unknown
Tags
Unknown