HomeFreeBSD

tcp: fix computation of offset

Description

tcp: fix computation of offset

Only update the offset if actually retransmitting from the
scoreboard. If not done correctly, this may result in
trying to (re)-transmit data not being being in the socket
buffe and therefore resulting in a panic.

PR: 264257
PR: 263445
PR: 260393
Reviewed by: rscheff@
MFC after: 3 days
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D36626

Details

Provenance
tuexenAuthored on Sep 19 2022, 10:42 AM
Differential Revision
D36626: Fix offset computation
Parents
rG55760984d56b: igc: Don't start in promiscious mode by default
Branches
Unknown
Tags
Unknown