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
F161119673: D16503.id.diff
Tue, Jun 30, 5:30 PM
F161108256: D16503.diff
Tue, Jun 30, 3:07 PM
F161035954: D16503.id46002.diff
Tue, Jun 30, 12:43 AM
Unknown Object (File)
Mon, Jun 29, 9:03 AM
Unknown Object (File)
Sun, Jun 28, 11:28 PM
Unknown Object (File)
Sat, Jun 27, 9:11 AM
Unknown Object (File)
Sun, Jun 21, 6:32 PM
Unknown Object (File)
Sat, Jun 20, 8:34 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