HomeFreeBSD

libc sctp: fix sctp_getladdrs() for 64-bit BE platforms

Description

libc sctp: fix sctp_getladdrs() for 64-bit BE platforms

When calling getsockopt() with SCTP_GET_LOCAL_ADDR_SIZE, use a
pointer to a 32-bit variable, since this is what the kernel
expects.
While there, do some cleanups.

MFC after: 1 week

Details

Provenance
tuexenAuthored on Dec 1 2021, 9:13 AM
Parents
rGa01b8859cbde: sctp: cleanup, no functional change intended.
Branches
Unknown
Tags
Unknown