Page MenuHomeFreeBSD

Fix LRO window comparison
ClosedPublic

Authored by jtl on Apr 2 2018, 6:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 30, 5:20 PM
Unknown Object (File)
Mon, Oct 27, 7:53 AM
Unknown Object (File)
Sun, Oct 26, 10:22 PM
Unknown Object (File)
Sat, Oct 25, 6:47 AM
Unknown Object (File)
Thu, Oct 23, 12:31 AM
Unknown Object (File)
Fri, Oct 17, 4:33 AM
Unknown Object (File)
Mon, Oct 13, 7:39 PM
Unknown Object (File)
Thu, Oct 9, 5:08 PM
Subscribers

Details

Summary

rS330675 (D14540) introduced an extra window check in the LRO code to ensure it captured and reported the highest window advertisement with the same SEQ/ACK. However, the window comparison uses a two's complement comparison rather than a comparison of the absolute values. Because windows use absolute values, rather than two's complement arithmetic (i.e. they don't wrap), compare the absolute values.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable