turning off TCP_NOPUSH

Garrett Wollman wollman at lcs.mit.edu
Wed May 28 12:19:21 PDT 2003


<<On Wed, 28 May 2003 22:22:14 +0400 (MSD), Igor Sysoev <is at rambler-co.ru> said:

> As I understand if the data in the send buffer is bigger than MSS it means
> that TCP stack has some reason not to send it and this reason is not
> TF_NOPUSH flag.  Am I wrong ?

If TCP is for some reason prohibited from sending (i.e., the flow
control or congestion control is closed), then tcp_output() will do
nothing (except perhaps send a window update if necessary).

If TCP is allowed to send data, then tcp_output() will send the data
immediately, which is what we want.

-GAWollman



More information about the freebsd-net mailing list