HomeFreeBSD

tcp: Fix sending of TCP segments with IP level options

Description

tcp: Fix sending of TCP segments with IP level options

When bringing in TCP over UDP support in
https://cgit.FreeBSD.org/src/commit/?id=9e644c23000c2f5028b235f6263d17ffb24d3605,
the length of IP level options was considered when locating the
transport header. This was incorrect and is fixed by this patch.

X-MFC with: https://cgit.FreeBSD.org/src/commit/?id=9e644c23000c2f5028b235f6263d17ffb24d3605
MFC after: 3 days
Reviewed by: markj, rscheff
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D30358

Details

Provenance
tuexenAuthored on May 21 2021, 7:45 AM
Reviewer
markj
Differential Revision
D30358: Fix sending of TCP segments when IP level options are specified
Parents
rG8dc96b74edb8: cam: clear on-stack CCBs in last few drivers
Branches
Unknown
Tags
Unknown