From nobody Sun Sep 04 10:48:00 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ML7f91VHdz4bJ0v; Sun, 4 Sep 2022 10:48:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ML7f90wl3z47VK; Sun, 4 Sep 2022 10:48:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662288481; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6NZ6rwvnhdLsmu+4Pv4hYuJn6Tv2rSrU3PVP01OoT5g=; b=Oe2fjWvcTAa/j6N/SkI/eZQOeHV5Sh7kdLI4BPhlG9Aoc3XeVlguxYQ5C2haVYNvMU69gE rECAWgwIaevNAZIwTnvmR2cdQZYZxVZpqXMy8CFlQmzsVteYyO6EP1xugC0eXar/YJ53xK O23/LXIlZANtUij1+pSASmLtUKWnc5g0RRe36U85vDCysKllytHIpsEW/+5nqDPI/HaicJ lfa5BJWrXNspw4ZJkiInq8jaT442np2yh9IYQlqGHkxO11w6qK3+uFMTo0iOsj1b//AXUm lZxWm3CJChjJuMQ5m9cTzHltb05esz8Y81HpNbgyuQKazhd1+RybYWRUNEAatA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ML7f874YZzSYb; Sun, 4 Sep 2022 10:48:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 284Am0Xx096051; Sun, 4 Sep 2022 10:48:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 284Am0BP096050; Sun, 4 Sep 2022 10:48:00 GMT (envelope-from git) Date: Sun, 4 Sep 2022 10:48:00 GMT Message-Id: <202209041048.284Am0BP096050@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: d07a5018766e - main - tcp_hpts: Correct some typos in source code comments List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d07a5018766e11d7f9d7f0c1aa5e0a9baa5ca6d6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662288481; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6NZ6rwvnhdLsmu+4Pv4hYuJn6Tv2rSrU3PVP01OoT5g=; b=VRMW/j5kvjEbJPAj+czXkeH2CgaHXvNDr33yqik+pEAJoqBCLHqKLxr+rF7EqJzt8vxraD OQ2igKtxRp8Ezml4UxPOp3ozi5xXjtXxDM5cOzNvqyzgQNsGPuQl0hEi+gaTWO0+WOb0Cb XauimoZ7YnlETp1093JcE99b5ROWs38MBf5TgzkA8pr9+EQ2TVYJAjWQX48ehwLTl1o63j trvt6DRovFRlE7uzJRpeQpsFbJ3PyM+7IL9JREbKuZCRd1EyDALrxJR+JeJIfoF3l72Svz fJ6Elh/mJ8XIsD69DjmB7kMEONLwP39rFJfrez8PE917pw4XvvzxpBcJI9MnMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662288481; a=rsa-sha256; cv=none; b=Of1VgnK/PREHEEOOyj3YNXxgcSWsb8YBTDnx2/nO3VkU+4Kj1Jj+QRTxd8+UVK4nfAxYtn ixYCzV0EZP+uwDhDsxIa9vnUvDUnSwfc/hBRWCes9vEhU7mOsKc3wHHo9PU7V3mjsDCk4D /+NiAZUA0t8JDJ2i2fRMOhx++gNYHupBGS/wM6kyyPCLDpq78CRUDX3BLSIEX3HkHJw7Fe 0+VtnnaqNLplM7XophM4nvThtHz1ZYPNoA3HG/T6/nIbfjBsLAVPQb4s+3+txPSqmENZM6 PjKv+SkqFrE5dFxeblD8RrU8qw/8iVqDxlMsLCgNfZQUoAoXenFD7tjw/5BI0A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=d07a5018766e11d7f9d7f0c1aa5e0a9baa5ca6d6 commit d07a5018766e11d7f9d7f0c1aa5e0a9baa5ca6d6 Author: Gordon Bergling AuthorDate: 2022-09-04 10:47:49 +0000 Commit: Gordon Bergling CommitDate: 2022-09-04 10:47:49 +0000 tcp_hpts: Correct some typos in source code comments - s/occured/occurred/ - s/the the/the/ MFC after: 3 days --- sys/netinet/tcp_hpts.c | 4 ++-- sys/netinet/tcp_hpts.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/netinet/tcp_hpts.c b/sys/netinet/tcp_hpts.c index b8d09523113f..828ce16e8dad 100644 --- a/sys/netinet/tcp_hpts.c +++ b/sys/netinet/tcp_hpts.c @@ -1341,7 +1341,7 @@ again: * goes off and sees the mis-match. We * simply correct it here and the CPU will * switch to the new hpts nextime the tcb - * gets added to the the hpts (not this one) + * gets added to the hpts (not this one) * :-) */ tcp_set_hpts(inp); @@ -1376,7 +1376,7 @@ again: * than the previous inp) and there no * assurance that ninp was not pulled while * we were processing inp and freed. If this - * occured it could mean that either: + * occurred it could mean that either: * * a) Its NULL (which is fine we won't go * here) b) Its valid (which is cool we diff --git a/sys/netinet/tcp_hpts.h b/sys/netinet/tcp_hpts.h index c1af23e2d4df..ebee6a01b983 100644 --- a/sys/netinet/tcp_hpts.h +++ b/sys/netinet/tcp_hpts.h @@ -129,7 +129,7 @@ bool tcp_in_hpts(struct inpcb *); * it to be 1 (so you wont call output) it may be transitioning * to 0 (by the hpts). That will be fine since that will just * mean an extra call to tcp_output that most likely will find - * the call you executed (when the mis-match occured) will have + * the call you executed (when the mis-match occurred) will have * put the TCB back on the hpts and it will return. If your * call did not add it back to the hpts then you will either * over-send or the cwnd will block you from sending more.