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, Feb 16, 12:57 AM
Unknown Object (File)
Sat, Jan 25, 3:57 AM
Unknown Object (File)
Jan 4 2025, 8:06 PM
Unknown Object (File)
Nov 22 2024, 9:05 AM
Unknown Object (File)
Nov 17 2024, 8:28 PM
Unknown Object (File)
Nov 13 2024, 3:38 PM
Unknown Object (File)
Oct 19 2024, 2:42 PM
Unknown Object (File)
Oct 4 2024, 11:55 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