HomeFreeBSD

pf: use sctp_calculate_cksum()

Description

pf: use sctp_calculate_cksum()

This function is always available, even if the SCTP or SCTP_SUPPORT options
are not set.
That lets us remove an ifdef, and also means we improve pf's SCTP handling
when the options are not set.

MFC after: 3 weeks
Sponsored by: Orange Business Services
Differential Revision: https://reviews.freebsd.org/D40911

(cherry picked from commit 61e22e9b2905f405170c249a2239f324229b60d1)

Details

Provenance
kpAuthored on Jul 7 2023, 8:04 AM
Differential Revision
D40911: pf: use sctp_calculate_cksum()
Parents
rG97cbac33c6d2: linux(4): Add elf_hwcap2 to x86
Branches
Unknown
Tags
Unknown