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)
Sun, Apr 27, 6:47 AM
Unknown Object (File)
Wed, Apr 16, 8:51 PM
Unknown Object (File)
Mon, Apr 14, 8:20 AM
Unknown Object (File)
Mon, Apr 14, 4:31 AM
Unknown Object (File)
Sun, Apr 13, 10:06 PM
Unknown Object (File)
Sun, Apr 13, 9:50 PM
Unknown Object (File)
Mar 10 2025, 10:07 PM
Unknown Object (File)
Feb 21 2025, 6:54 AM
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