Reset dupack count in header prediction.

Follow-on to rev 1.39.

Reviewed by: jayanth, Thomas R Henderson <thomas.r.henderson@boeing.com>, silby, dillon
This commit is contained in:
Jeffrey Hsu 2002-08-15 17:13:18 +00:00
parent 4bbf3b8b3a
commit b5addd8564
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101928
2 changed files with 2 additions and 0 deletions

View File

@ -1023,6 +1023,7 @@ tcp_input(m, off0)
tcpstat.tcps_rcvackbyte += acked;
sbdrop(&so->so_snd, acked);
tp->snd_una = th->th_ack;
tp->t_dupacks = 0;
m_freem(m);
ND6_HINT(tp); /* some progress has been done */

View File

@ -1023,6 +1023,7 @@ tcp_input(m, off0)
tcpstat.tcps_rcvackbyte += acked;
sbdrop(&so->so_snd, acked);
tp->snd_una = th->th_ack;
tp->t_dupacks = 0;
m_freem(m);
ND6_HINT(tp); /* some progress has been done */