diff options
| author | David Greenman <dg@FreeBSD.org> | 1995-01-23 17:58:27 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1995-01-23 17:58:27 +0000 |
| commit | 297a37f3344bd3c23753ea4f5673fa5107752e5e (patch) | |
| tree | 35b57fa0d33c7bf858739cb11dd220748e232d84 /sys/netinet/tcp_output.c | |
| parent | 3ec66d6c3948bd76722af1a7f986f1aea800ddc6 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_output.c')
| -rw-r--r-- | sys/netinet/tcp_output.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index 797a49692554..829fceaa4702 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_output.c 8.3 (Berkeley) 12/30/93 - * $Id: tcp_output.c,v 1.2 1994/08/02 07:49:03 davidg Exp $ + * $Id: tcp_output.c,v 1.3 1994/09/15 10:36:55 davidg Exp $ */ #include <sys/param.h> @@ -322,6 +322,11 @@ send: * bump the packet length beyond the t_maxseg length. */ if (len > tp->t_maxseg - optlen) { + /* + * If there is still more to send, don't close the connection. + */ + flags &= ~TH_FIN; + len = tp->t_maxseg - optlen; sendalot = 1; } |
