Page MenuHomeFreeBSD

Fix LRO window comparison
ClosedPublic

Authored by jtl on Apr 2 2018, 6:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 11:34 AM
Unknown Object (File)
Fri, Dec 6, 11:31 AM
Unknown Object (File)
Fri, Dec 6, 11:31 AM
Unknown Object (File)
Wed, Dec 4, 11:40 AM
Unknown Object (File)
Fri, Nov 29, 6:55 PM
Unknown Object (File)
Nov 17 2024, 6:14 AM
Unknown Object (File)
Oct 20 2024, 10:40 AM
Unknown Object (File)
Oct 5 2024, 12:49 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