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

Details

Provenance
kpAuthored on Jul 7 2023, 8:04 AM
Differential Revision
D40911: pf: use sctp_calculate_cksum()
Parents
rG9f23cbd6cae8: atf_pytest_wrapper: fix use with pytest-7.4
Branches
Unknown
Tags
Unknown