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)
Thu, Apr 18, 12:58 AM
Unknown Object (File)
Dec 12 2023, 6:28 AM
Unknown Object (File)
Nov 3 2023, 1:21 PM
Unknown Object (File)
Aug 4 2023, 10:42 PM
Unknown Object (File)
Aug 4 2023, 10:41 PM
Unknown Object (File)
Aug 4 2023, 10:41 PM
Unknown Object (File)
Aug 4 2023, 10:17 PM
Unknown Object (File)
Jun 26 2023, 11:03 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 18422