Page MenuHomeFreeBSD

Fix LRO window comparison
ClosedPublic

Authored by jtl on Apr 2 2018, 6:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 2, 4:52 PM
Unknown Object (File)
Wed, May 20, 2:55 PM
Unknown Object (File)
Wed, May 20, 5:44 AM
Unknown Object (File)
Tue, May 19, 10:51 PM
Unknown Object (File)
Sun, May 17, 12:13 AM
Unknown Object (File)
May 6 2026, 3:15 PM
Unknown Object (File)
May 4 2026, 2:43 AM
Unknown Object (File)
Apr 30 2026, 12:35 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