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

Fallback to not using ECN if IP_TOS is not supported #1516

Merged
merged 2 commits into from
Mar 17, 2023

Commits on Mar 16, 2023

  1. Fallback to not using ECN if IP_TOS is not supported

    On Linux <3.13 sendmsg/sendmmsg system calls
    return EINVAL without sending anything if they encounter
    an `IP_TOS` cmsg. To ensure we can still send
    on such systems, remember if we got an EINVAL error
    and switch to "fallback mode" in which we do not try
    to transmit ECN at all and only use well-supported features.
    link2xt committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    a39bcc7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b60a547 View commit details
    Browse the repository at this point in the history