Page MenuHomeFreeBSD

Send consistent SEG.WIN when sending from the timewait code path
ClosedPublic

Authored by tuexen on Jul 29 2018, 10:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 21, 4:06 PM
Unknown Object (File)
Mar 23 2026, 5:17 AM
Unknown Object (File)
Mar 21 2026, 2:10 PM
Unknown Object (File)
Mar 21 2026, 4:19 AM
Unknown Object (File)
Mar 15 2026, 8:27 AM
Unknown Object (File)
Mar 8 2026, 2:23 AM
Unknown Object (File)
Mar 5 2026, 6:14 AM
Unknown Object (File)
Feb 20 2026, 2:07 PM
Subscribers

Details

Summary

When creating a timewait entry, the last sent rcv window is stored. However, it is computed in a different way than in the main code path. This results in inconsistencies. These are fixed by using the same code as in tcp_output().

Test Plan

Run the attached packetdrill test.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable