Re: Sender-side SWS avoidance in tcp_sendmsg()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

> Subject: Re: Sender-side SWS avoidance in tcp_sendmsg()

Actually, this thing has nothing to do with SWS avoidance.

It is workaround for a bug, noticed in win2000/XP?, when
overoptimized TCP receiver in http client delivers data only
when it sees a PSH. Normally, TCP may send the whole multigigabyte
stream of data not doing even single PSH because it always has more
data to transmit.

So, forced_push() means that we make at least one PSH per window,
not depending on any other things sort of "amount of queued data".

Yes, this means that skb1 is marked to carry PSH and the next
PSH must happen not later than Y+(tp->max_window>>1).

Alexey
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux