HomeFreeBSD

sctp: compute address flags only for IPv6 addresses

Description

sctp: compute address flags only for IPv6 addresses

Only call sctp_gather_internal_ifa_flags() for IPv6 addresses and
also compile this code only, when IPv6 is supported.
This fixes the compilation of IPv4 only kernels.

Reported by: bz@
Fixes: 6ab4b0c0df57 ("sctp: initilize local address flags correctly")
MFC after: 3 days

Details

Provenance
tuexenAuthored on May 5 2025, 8:43 PM
Parents
rG9ab96b38215e: tests/unix_seqpacket: re-enable stress test for unix/seqpacket
Branches
Unknown
Tags
Unknown