HomeFreeBSD

tcp: set IP ECN header codepoint properly

Description

tcp: set IP ECN header codepoint properly

TCP RACK can cache the IP header while preparing
a new TCP packet for transmission. Thus all the
IP ECN codepoint bits need to be assigned, without
assuming a clear field beforehand.

Reviewed By: tuexen, kbowling, transport
MFC after: 3 days
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D34148

Details

Provenance
rscheffAuthored on Feb 3 2022, 3:47 PM
Reviewer
transport
Differential Revision
D34148: Explicitly set IP ECN header codepoint properly
Parents
rG1ebf46075872: tcp: Access all 12 TCP header flags via inline function
Branches
Unknown
Tags
Unknown