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)
Mon, Oct 13, 5:38 AM
Unknown Object (File)
Sun, Oct 12, 4:38 AM
Unknown Object (File)
Tue, Oct 7, 4:53 AM
Unknown Object (File)
Sat, Oct 4, 6:36 AM
Unknown Object (File)
Thu, Oct 2, 1:59 AM
Unknown Object (File)
Tue, Sep 30, 2:57 PM
Unknown Object (File)
Tue, Sep 30, 8:20 AM
Unknown Object (File)
Tue, Sep 30, 1:12 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