Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: iovec array not stable during sendmsg_zc op #257

Merged
merged 2 commits into from
Mar 2, 2023

Conversation

ollie-etl
Copy link
Contributor

The iovec array must be stable until either:

  • Operation completion, or
  • not doing IORING_SETUP_SQPOLL, and feature IORING_FEAT_SUBMIT_STABLE is present

This fix takes the simple option of holding the iovec until operation is completed.

The iovec needs to be stable for the duration of the op
@Noah-Kennedy Noah-Kennedy merged commit 1a089de into tokio-rs:master Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants