From: John Heffner <[EMAIL PROTECTED]>
Date: Tue, 16 May 2006 14:28:23 -0400

> The problem really is that the window_clamp variable is overloaded. 
> It's used as a kind of cache for rcvbuf -> window conversion, but also 
> as a user-settable bound in window size.  On examination, it looks like 
> this is also broken (in that window size won't increase) if a user does 
> a setsockopt(SO_RCVBUF).  Can we make window_clamp a true clamp?  Then 
> we can get rid of the hack of raising it in tcp_rcv_space_adjust().  I 
> can cook up a patch if interested.

The clamp gets moved along also to handle dynamic receive window
sizing.  To be honest, a window clamp doesn't have clear semantics
in the presence of dynamic window sizing.

Anyways, I'd like to see your patch.  It might make rcvbuf -->
window conversions a bit more expensive, but we'll see.

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to