summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_output.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2009-06-16 19:00:48 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2009-06-16 19:00:48 +0000
commit6b0c5521b5061951863a2d5091552457432e2b18 (patch)
tree39fdea2811658f92677ec47e740a620680457e0e /sys/netinet/tcp_output.c
parent6dfb8b316cfffc989f5de58a81aecb91ae870b13 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r--sys/netinet/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index 3117fc3d476c..35ba51cadf53 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -172,7 +172,7 @@ tcp_output(struct tcpcb *tp)
* to send, then transmit; otherwise, investigate further.
*/
idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una);
- if (idle && (ticks - tp->t_rcvtime) >= tp->t_rxtcur) {
+ if (idle && ticks - tp->t_rcvtime >= tp->t_rxtcur) {
/*
* We have been idle for "a while" and no acks are
* expected to clock out any data we send --