diff options
| author | Bill Fenner <fenner@FreeBSD.org> | 1999-01-20 17:32:01 +0000 |
|---|---|---|
| committer | Bill Fenner <fenner@FreeBSD.org> | 1999-01-20 17:32:01 +0000 |
| commit | b0acefa8d40ad2c3ae548a35b6266c79d2ab0ef2 (patch) | |
| tree | 59f15a90c7c15e6267b938bfe99fe1cceef44ce5 /sys/netinet/tcp_usrreq.c | |
| parent | 50d5db08d06df731f7f34eefe6684b2f50d2f737 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
| -rw-r--r-- | sys/netinet/tcp_usrreq.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 9c002085a083..66519cef45f8 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * From: @(#)tcp_usrreq.c 8.2 (Berkeley) 1/3/94 - * $Id: tcp_usrreq.c,v 1.38 1998/08/23 03:07:15 wollman Exp $ + * $Id: tcp_usrreq.c,v 1.39 1998/12/07 21:58:42 archie Exp $ */ #include "opt_tcpdebug.h" @@ -368,8 +368,13 @@ tcp_usr_send(struct socket *so, int flags, struct mbuf *m, socantsendmore(so); tp = tcp_usrclosed(tp); } - if (tp != NULL) + if (tp != NULL) { + if (flags & PRUS_MORETOCOME) + tp->t_flags |= TF_MORETOCOME; error = tcp_output(tp); + if (flags & PRUS_MORETOCOME) + tp->t_flags &= ~TF_MORETOCOME; + } } else { if (sbspace(&so->so_snd) < -512) { m_freem(m); |
