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-08 19:08:18 +0000
commit4d6883cbe2fa6182698662880ba75475fda1ac36 (patch)
tree94f26d983d29ec3e663f9b82438dfa0526c21084
parent6a33ecdc2f649234cc3160daec8c329f33860f45 (diff)
downloadsrc-4d6883cbe2fa6182698662880ba75475fda1ac36.tar.gz
src-4d6883cbe2fa6182698662880ba75475fda1ac36.zip
tcp_bbr(4): Fix a typo in a sysctl description and a comment
- s/postive/positive/ MFC after: 5 days
-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 31150e3169ec..a9459d4b4517 100644
--- a/sys/netinet/tcp_stacks/bbr.c
+++ b/sys/netinet/tcp_stacks/bbr.c
@@ -1727,7 +1727,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,
@@ -3894,7 +3894,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;