summaryrefslogtreecommitdiffstats
path: root/sys/netinet/cc
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-03 18:05:43 +0000
committerpfg <pfg@FreeBSD.org>2016-05-03 18:05:43 +0000
commitd9c9113377a2f19d01848ae8dcc470e9306ce932 (patch)
tree3bd5a1b080e3f0e8e4c5ca5a06e77b298320c545 /sys/netinet/cc
parent28c014925a3f81792d7e34d604dec6030f5c5121 (diff)
downloadFreeBSD-src-d9c9113377a2f19d01848ae8dcc470e9306ce932.zip
FreeBSD-src-d9c9113377a2f19d01848ae8dcc470e9306ce932.tar.gz
sys/net*: minor spelling fixes.
No functional change.
Diffstat (limited to 'sys/netinet/cc')
-rw-r--r--sys/netinet/cc/cc_cubic.c2
-rw-r--r--sys/netinet/cc/cc_dctcp.c2
-rw-r--r--sys/netinet/cc/cc_htcp.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/cc/cc_cubic.c b/sys/netinet/cc/cc_cubic.c
index 9fdb99e..a447345 100644
--- a/sys/netinet/cc/cc_cubic.c
+++ b/sys/netinet/cc/cc_cubic.c
@@ -143,7 +143,7 @@ cubic_ack_received(struct cc_var *ccv, uint16_t type)
* the I-D. Using min_rtt in the tf_cwnd calculation
* causes w_tf to grow much faster than it should if the
* RTT is dominated by network buffering rather than
- * propogation delay.
+ * propagation delay.
*/
w_tf = tf_cwnd(ticks_since_cong,
cubic_data->mean_rtt_ticks, cubic_data->max_cwnd,
diff --git a/sys/netinet/cc/cc_dctcp.c b/sys/netinet/cc/cc_dctcp.c
index fd36d1c..ce75750 100644
--- a/sys/netinet/cc/cc_dctcp.c
+++ b/sys/netinet/cc/cc_dctcp.c
@@ -202,7 +202,7 @@ dctcp_cb_init(struct cc_var *ccv)
dctcp_data->bytes_ecn = 0;
dctcp_data->bytes_total = 0;
/*
- * When alpha is set to 0 in the beggining, DCTCP sender transfers as
+ * When alpha is set to 0 in the beginning, DCTCP sender transfers as
* much data as possible until the value converges which may expand the
* queueing delay at the switch. When alpha is set to 1, queueing delay
* is kept small.
diff --git a/sys/netinet/cc/cc_htcp.c b/sys/netinet/cc/cc_htcp.c
index 97012f5..5cd84f3 100644
--- a/sys/netinet/cc/cc_htcp.c
+++ b/sys/netinet/cc/cc_htcp.c
@@ -440,7 +440,7 @@ htcp_recalc_beta(struct cc_var *ccv)
/*
* TCPTV_SRTTBASE is the initialised value of each connection's SRTT, so
* we only calc beta if the connection's SRTT has been changed from its
- * inital value. beta is bounded to ensure it is always between
+ * initial value. beta is bounded to ensure it is always between
* HTCP_MINBETA and HTCP_MAXBETA.
*/
if (V_htcp_adaptive_backoff && htcp_data->minrtt != TCPTV_SRTTBASE &&
OpenPOWER on IntegriCloud