]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Limit window scaling if window is clamped.
authorStephen Hemminger <shemminger@osdl.org>
Tue, 22 Aug 2006 07:06:11 +0000 (00:06 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 22 Aug 2006 21:33:57 +0000 (14:33 -0700)
commit61707b96c68d461c0904d37aab40cd213479f110
treedf27aac5ed7eab642d31be88150c080bf6f313ec
parentb8a598ed8bab20b1763421fa4f7c06f6682dd070
[TCP]: Limit window scaling if window is clamped.

This small change allows for easy per-route workarounds for broken hosts or
middleboxes that are not compliant with TCP standards for window scaling.
Rather than having to turn off window scaling globally. This patch allows
reducing or disabling window scaling if window clamp is present.

Example: Mark Lord reported a problem with 2.6.17 kernel being unable to
access http://www.everymac.com

# ip route add 216.145.246.23/32 via 10.8.0.1 window 65535

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c