summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r--sys/netinet/tcp_output.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index a0ae43a..36f431a 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_output.c 8.4 (Berkeley) 5/24/95
- * $Id: tcp_output.c,v 1.30 1998/05/24 18:41:04 fenner Exp $
+ * $Id: tcp_output.c,v 1.31 1998/07/13 11:53:59 bde Exp $
*/
#include "opt_tcpdebug.h"
@@ -223,7 +223,8 @@ again:
if (len) {
if (len == tp->t_maxseg)
goto send;
- if ((idle || tp->t_flags & TF_NODELAY) &&
+ if (!(tp->t_flags & TF_MORETOCOME) &&
+ (idle || tp->t_flags & TF_NODELAY) &&
(tp->t_flags & TF_NOPUSH) == 0 &&
len + off >= so->so_snd.sb_cc)
goto send;
OpenPOWER on IntegriCloud