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

(cherry picked from commit e187fa56904712cb4dac9e14c81c88821582aeb4)

Details

Provenance
tuexenAuthored on May 8 2024, 9:41 PM
Parents
rG7663542fd713: sctp: add missing check
Branches
Unknown
Tags
Unknown