HomeFreeBSD

sctp: fix sctp_sendall() when an mbuf chain is provided

Description

sctp: fix sctp_sendall() when an mbuf chain is provided

In this case uio is NULL, which needs to be checked and m must
be copied into the sctp_copy_all structure.
Reported by: Coverity Scan
CID: 1400449
MFC after: 3 days

Details

Provenance
tuexenAuthored on May 8 2024, 9:41 PM
Parents
rG52e41d1a5bd9: Update example from gcc6 to gcc13
Branches
Unknown
Tags
Unknown