Thread (26 messages) flat view 26 messages, 7 authors, 2005-09-30

Re: Possible BUG in IPv4 TCP window handling, all recent 2.4.x/2.6.x kernels

From: John Heffner <hidden>
Date: 2005-09-02 14:17:11
Also in: lkml

On Sep 2, 2005, at 9:48 AM, Alexey Kuznetsov wrote:
Hello!
quoted
If you overflow the socket's memory bound, it ends up calling
tcp_clamp_window().  (I'm not sure this is really the right thing to 
do
here before trying to collapse the queue.)
Collapsing is too expensive procedure, it is rather an emergency 
measure.
So, tcp collapses queue, when it is necessary, but it must reduce 
window
as well.
Right.

I wonder if clamping the window though is too harsh.  Maybe just 
setting the rcv_ssthresh down is better?  Why the distinction between 
in-order and out-of-order data?  Because you expect in-order data to be 
a persistent case?

   -John
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help