HomeFreeBSD

libc sctp: improve conformance of sctp_getpaddrs()

Description

libc sctp: improve conformance of sctp_getpaddrs()

When there is no association, don't return -1 and indicate ENOENT,
but return 0 instead. This is specified in RFC 6458.

PR: 260117
MFC after: 1 week

(cherry picked from commit 83a103ec429a6dd862a73857ebeeff863a41a34d)

Details

Provenance
tuexenAuthored on Dec 1 2021, 6:47 PM
Parents
rG6a5487e34b13: libc sctp: fix sctp_getladdrs() when reporting no addresses
Branches
Unknown
Tags
Unknown