diff options
| author | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-12-13 04:02:31 +0000 |
|---|---|---|
| committer | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-12-13 04:02:31 +0000 |
| commit | 7c183182bf054277a8f0c964a1e6e4fd9ba09f5c (patch) | |
| tree | 836f92846371ea112c1b817992522b3747515ebb /sys/netinet/tcp_output.c | |
| parent | 0ef3206bf59d63287d8b7b15976d87378c34424f (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_output.c')
| -rw-r--r-- | sys/netinet/tcp_output.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index 13f5ca9e1a1d..9d3dac15f505 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -282,13 +282,13 @@ again: * Sender silly window avoidance. We transmit under the following * conditions when len is non-zero: * - * - We have a full segment - * - This is the last buffer in a write()/send() and we are - * either idle or running NODELAY - * - we've timed out (e.g. persist timer) - * - we have more then 1/2 the maximum send window's worth of - * data (receiver may be limited the window size) - * - we need to retransmit + * - We have a full segment + * - This is the last buffer in a write()/send() and we are + * either idle or running NODELAY + * - we've timed out (e.g. persist timer) + * - we have more then 1/2 the maximum send window's worth of + * data (receiver may be limited the window size) + * - we need to retransmit */ if (len) { if (len == tp->t_maxseg) @@ -300,7 +300,7 @@ again: * * note: the len + off check is almost certainly unnecessary. */ - if (!(tp->t_flags & TF_MORETOCOME) && /* normal case */ + if (!(tp->t_flags & TF_MORETOCOME) && /* normal case */ (idle || (tp->t_flags & TF_NODELAY)) && len + off >= so->so_snd.sb_cc && (tp->t_flags & TF_NOPUSH) == 0) { |
