From owner-freebsd-net@FreeBSD.ORG Wed May 28 12:19:21 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49CB737B401 for ; Wed, 28 May 2003 12:19:21 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82AFF43F3F for ; Wed, 28 May 2003 12:19:20 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id h4SJJJVo050589 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 28 May 2003 15:19:19 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id h4SJJI5h050586; Wed, 28 May 2003 15:19:18 -0400 (EDT) (envelope-from wollman) Date: Wed, 28 May 2003 15:19:18 -0400 (EDT) From: Garrett Wollman Message-Id: <200305281919.h4SJJI5h050586@khavrinen.lcs.mit.edu> To: Igor Sysoev In-Reply-To: References: <200305281607.h4SG7SwR049542@khavrinen.lcs.mit.edu> X-Spam-Score: -19.8 () IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) cc: freebsd-net@freebsd.org Subject: Re: turning off TCP_NOPUSH X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 19:19:21 -0000 < 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