summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_output.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2002-10-16 19:16:33 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2002-10-16 19:16:33 +0000
commitabac41a65981ab56e0b869cea1c380183b778cfc (patch)
treea84a2788ab306d26ab137a618d6f0d87d5a71053 /sys/netinet/tcp_output.c
parentf371d460e683826ac2287dc163745ff263bf4ae8 (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 1200282f3a99..1742477f5e41 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -844,7 +844,7 @@ send:
++xlen;
tp->t_flags |= TF_SENTFIN;
}
- if (SEQ_GT(tp->snd_nxt + len, tp->snd_max))
+ if (SEQ_GT(tp->snd_nxt + xlen, tp->snd_max))
tp->snd_max = tp->snd_nxt + len;
}