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)
Fri, Feb 20, 2:07 PM
Unknown Object (File)
Thu, Feb 19, 5:19 AM
Unknown Object (File)
Wed, Feb 18, 7:16 PM
Unknown Object (File)
Wed, Feb 18, 5:22 AM
Unknown Object (File)
Wed, Feb 18, 5:18 AM
Unknown Object (File)
Tue, Feb 17, 4:20 PM
Unknown Object (File)
Tue, Feb 17, 3:08 PM
Unknown Object (File)
Tue, Feb 17, 8:07 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