Page MenuHomeFreeBSD

Send consistent SEG.WIN when sending from the timewait code path
ClosedPublic

Authored by tuexen on Jul 29 2018, 10:17 PM.

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
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 18422

Event Timeline

tuexen created this revision.Jul 29 2018, 10:17 PM
rrs accepted this revision.Jul 30 2018, 10:19 AM
This revision is now accepted and ready to land.Jul 30 2018, 10:19 AM
This revision was automatically updated to reflect the committed changes.