aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-05-03 18:05:43 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-05-03 18:05:43 +0000
commita4641f4eaad242fd40c50e4dd14522aff3494f9a (patch)
tree3bd5a1b080e3f0e8e4c5ca5a06e77b298320c545 /sys/netinet/tcp_input.c
parent31ae3b070d2c79b25061f7847c4bf887e4c55fa4 (diff)
downloadsrc-a4641f4eaad242fd40c50e4dd14522aff3494f9a.tar.gz
src-a4641f4eaad242fd40c50e4dd14522aff3494f9a.zip
Notes
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 324b0da76933..cd400f5d896b 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -365,7 +365,7 @@ cc_conn_init(struct tcpcb *tp)
/*
* There's some sort of gateway or interface
* buffer limit on the path. Use this to set
- * the slow start threshhold, but set the
+ * the slow start threshold, but set the
* threshold to no less than 2*mss.
*/
tp->snd_ssthresh = max(2 * maxseg, metrics.rmx_ssthresh);
@@ -2533,7 +2533,7 @@ tcp_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so,
* change and FIN isn't set),
* the ack is the biggest we've
* seen and we've seen exactly our rexmt
- * threshhold of them, assume a packet
+ * threshold of them, assume a packet
* has been dropped and retransmit it.
* Kludge snd_nxt & the congestion
* window so we send only this one