Thread (3 messages) 3 messages, 3 authors, 2019-03-04

Re: [PATCH net] sctp: call iov_iter_revert() after sending ABORT

From: David Miller <davem@davemloft.net>
Date: 2019-03-04 18:59:32
Also in: linux-sctp

From: Xin Long <lucien.xin@gmail.com>
Date: Sun,  3 Mar 2019 16:50:26 +0800
The user msg is also copied to the abort packet when doing SCTP_ABORT in
sctp_sendmsg_check_sflags(). When SCTP_SENDALL is set, iov_iter_revert()
should have been called for sending abort on the next asoc with copying
this msg. Otherwise, memcpy_from_msg() in sctp_make_abort_user() will
fail and return error.

Fixes: 4910280503f3 ("sctp: add support for snd flag SCTP_SENDALL process in sendmsg")
Reported-by: Ying Xu <redacted>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Applied and queued up for -stable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help