aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2022-04-08 18:46:52 +0000
committerGordon Bergling <gbe@FreeBSD.org>2022-04-14 05:58:08 +0000
commitabf7997b8bd2c80563c6ef9d3b30ca33b50867ae (patch)
tree8dbda4d34515f2d0f5d8428bea79c56112379032
parentabe171cc5c9d5339335dff874af6ecbab9841892 (diff)
downloadsrc-abf7997b8bd2c80563c6ef9d3b30ca33b50867ae.tar.gz
src-abf7997b8bd2c80563c6ef9d3b30ca33b50867ae.zip
tcp_bbr(4): Fix a typo in a sysctl description and a comment
- s/postive/positive/ (cherry picked from commit 4d6883cbe2fa6182698662880ba75475fda1ac36)
-rw-r--r--sys/netinet/tcp_stacks/bbr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_stacks/bbr.c b/sys/netinet/tcp_stacks/bbr.c
index f2026730aef5..0bfe51d347bb 100644
--- a/sys/netinet/tcp_stacks/bbr.c
+++ b/sys/netinet/tcp_stacks/bbr.c
@@ -1728,7 +1728,7 @@ bbr_init_sysctls(void)
SYSCTL_CHILDREN(bbr_policer),
OID_AUTO, "false_postive", CTLFLAG_RW,
&bbr_lt_intvl_fp, 0,
- "What packet epoch do we do false-postive detection at (0=no)?");
+ "What packet epoch do we do false-positive detection at (0=no)?");
SYSCTL_ADD_S32(&bbr_sysctl_ctx,
SYSCTL_CHILDREN(bbr_policer),
OID_AUTO, "loss_thresh", CTLFLAG_RW,
@@ -3896,7 +3896,7 @@ bbr_post_recovery(struct tcpcb *tp)
}
} else {
/*
- * A strict drop limit of N is is inplace
+ * A strict drop limit of N is inplace
*/
if (newcwnd < (bbr_drop_limit * maxseg)) {
newcwnd = bbr_drop_limit * maxseg;