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

Fix corrupted sendmmsg() call #1414

Merged
merged 1 commit into from
Apr 8, 2021
Merged

Commits on Apr 7, 2021

  1. Fix spurious errors using sendmmsg with multiple cmsgs

    Before this fix, the buffer that holds cmsgs may move due to the resize()
    call. That causes msg_hdr pointing to invalid memory, which ends up
    breaking the sendmmsg() call, resulting in EINVAL.
    
    This change fixes it by avoiding re-allocating the buffers.
    eaufavor committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    50fc2db View commit details
    Browse the repository at this point in the history