aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorXin Long <[email protected]>2019-03-03 16:50:26 +0800
committerDavid S. Miller <[email protected]>2019-03-04 10:58:54 -0800
commit901efe12318b1ea8d3e2c88a7b75ed6e6d5d7245 (patch)
tree0d6425c93b6e00fe83e3938ef6f6d1921dd1d22f /tools/perf/util/scripting-engines/trace-event-python.c
parent692c31bd4054212312396b1d303bffab2c5b93a7 (diff)
sctp: call iov_iter_revert() after sending ABORT
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 <[email protected]> Signed-off-by: Xin Long <[email protected]> Acked-by: Neil Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions