diff options
author | Peter Wemm <peter@FreeBSD.org> | 2014-01-08 03:17:32 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2014-01-08 03:17:32 +0000 |
commit | f343923e21d525f5a2339b62c078ce6f8bb77a2d (patch) | |
tree | fd24905c74dc0d0fbbbe927c27abbce5722b7b90 | |
parent | 6d63eb0ea8e47aeb987200dc8ec38b8cf23d8e94 (diff) | |
download | src-test2-f343923e21d525f5a2339b62c078ce6f8bb77a2d.tar.gz src-test2-f343923e21d525f5a2339b62c078ce6f8bb77a2d.zip |
Notes
-rw-r--r-- | sys/netinet/tcp_input.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 65efc0ff02b7..9e6520f8e9d0 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1858,15 +1858,13 @@ trimthenstep6: (to.to_nsacks > 0 || !TAILQ_EMPTY(&tp->snd_holes))) tcp_sack_doack(tp, &to, th->th_ack); if (SEQ_LEQ(th->th_ack, tp->snd_una)) { - if (tlen == 0 && tiwin == tp->snd_wnd && - !(thflags & TH_FIN)) { + if (tlen == 0 && tiwin == tp->snd_wnd) { tcpstat.tcps_rcvdupack++; /* * If we have outstanding data (other than * a window probe), this is a completely * duplicate ack (ie, window info didn't - * change and FIN isn't set), - * the ack is the biggest we've + * change), the ack is the biggest we've * seen and we've seen exactly our rexmt * threshhold of them, assume a packet * has been dropped and retransmit it. |