Page MenuHomeFreeBSD

Fix LRO window comparison
ClosedPublic

Authored by jtl on Apr 2 2018, 6:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 20, 3:42 AM
Unknown Object (File)
Sun, Apr 19, 11:29 AM
Unknown Object (File)
Fri, Apr 17, 12:44 PM
Unknown Object (File)
Tue, Apr 14, 11:39 PM
Unknown Object (File)
Tue, Apr 14, 10:51 AM
Unknown Object (File)
Fri, Apr 10, 10:06 PM
Unknown Object (File)
Fri, Apr 10, 1:08 AM
Unknown Object (File)
Mon, Mar 30, 5:42 AM
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