summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorMohan Srinivasan <mohans@FreeBSD.org>2006-08-26 17:53:19 +0000
committerMohan Srinivasan <mohans@FreeBSD.org>2006-08-26 17:53:19 +0000
commit2374501ca44eb5201c31f2e01daec21a4fba9275 (patch)
treec84d92c9f95d86d95b8b6657ac4a26d6945cf3e8 /sys/netinet/tcp_subr.c
parentaed760ef8ab310583020ffc8f38a7d291e282b56 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index fe8e4b544b3c..aedd8b09b9e5 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1573,6 +1573,10 @@ tcp_mtudisc(struct inpcb *inp, int errno)
tcpstat.tcps_mturesent++;
tp->t_rtttime = 0;
tp->snd_nxt = tp->snd_una;
+ tcp_free_sackholes(tp);
+ tp->snd_recover = tp->snd_max;
+ if (tp->sack_enable)
+ EXIT_FASTRECOVERY(tp);
tcp_output(tp);
return (inp);
}