summaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlexey Kuznetsov <kuznet@ms2.inr.ac.ru>2010-09-15 10:27:52 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-26 17:18:14 -0700
commit4275a88aa5891aadb1227631d9e602a1f66f347f (patch)
tree70228384c5abf53db1d6a8ff8eb5991e39d978cf /net/unix/af_unix.c
parent5bc7298fc100540046e9e252d2fc0e4606d39b44 (diff)
downloadkernel-crypto-4275a88aa5891aadb1227631d9e602a1f66f347f.tar.gz
kernel-crypto-4275a88aa5891aadb1227631d9e602a1f66f347f.tar.xz
kernel-crypto-4275a88aa5891aadb1227631d9e602a1f66f347f.zip
tcp: Prevent overzealous packetization by SWS logic.
[ Upstream commit 01f83d69844d307be2aa6fea88b0e8fe5cbdb2f4 ] If peer uses tiny MSS (say, 75 bytes) and similarly tiny advertised window, the SWS logic will packetize to half the MSS unnecessarily. This causes problems with some embedded devices. However for large MSS devices we do want to half-MSS packetize otherwise we never get enough packets into the pipe for things like fast retransmit and recovery to work. Be careful also to handle the case where MSS > window, otherwise we'll never send until the probe timer. Reported-by: ツ Leandro Melo de Sales <leandroal@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions