Skip to content

lifetime of msghdr in sendmsg/sendmsg_zc #1259

Answered by isilence
pyhd asked this question in Q&A
Discussion options

You must be logged in to vote

It's not an exception, sendmsg[_zc] never accesses user's msghdr and iovec after the request has been submitted, i.e. io_uring_submit returns, regardless of the result.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pyhd
Comment options

Answer selected by pyhd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants