diff options
| author | Stefano Brivio <sbrivio@redhat.com> | 2025-12-04 07:12:54 +0100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-12-08 09:15:36 +0100 |
| commit | cf1925fb7b777d1b4dae4816f30af1fa5c6ebfa5 (patch) | |
| tree | 37cf779a3f638829a93c16234bb8f19538f82620 /test/tcp/git:/passt.top | |
| parent | 9139e60fd455fafb753c838e554732aed5ecbcd3 (diff) | |
| download | passt-cf1925fb7b777d1b4dae4816f30af1fa5c6ebfa5.tar passt-cf1925fb7b777d1b4dae4816f30af1fa5c6ebfa5.tar.gz passt-cf1925fb7b777d1b4dae4816f30af1fa5c6ebfa5.tar.bz2 passt-cf1925fb7b777d1b4dae4816f30af1fa5c6ebfa5.tar.lz passt-cf1925fb7b777d1b4dae4816f30af1fa5c6ebfa5.tar.xz passt-cf1925fb7b777d1b4dae4816f30af1fa5c6ebfa5.tar.zst passt-cf1925fb7b777d1b4dae4816f30af1fa5c6ebfa5.zip | |
tcp: Don't limit window to less-than-MSS values, use zero instead
If the sender uses data clumping (including Nagle's algorithm) for
Silly Window Syndrome (SWS) avoidance, advertising less than a MSS
means the sender might stop sending altogether, and window updates
after a low window condition are just as important as they are in
a zero-window condition.
For simplicity, approximate that limit to zero, as we have an
implementation forcing window updates after zero-sized windows.
This matches the suggestion from RFC 813, section 4.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/tcp/git:/passt.top')
0 files changed, 0 insertions, 0 deletions
