From nobody Wed Sep 07 07:26:53 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 4MMv2j6R54z4bnW0; Wed, 7 Sep 2022 07:26:53 +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 4MMv2j5b6Vz3kPm; Wed, 7 Sep 2022 07:26:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662535613; 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=+7K77t09kQ5xsVbHeiBMegaZr6+os05A4LZ5/+bdPyQ=; b=It+vCh7RrxTa7mg8qFuY8Lguh3v6wqScUmQk3vX51yZ+p4MZ6vZRceL/WOuCDyfhCOT06z Nm2kRMnuf0uc3FNAV/UGmuoMEP1qnqwDsCba1ANcC9GOS47eWyBruI/+0agxpwk918y7t1 zGMzHZrcroBl+L3ZKo5I3/4Rm6l93X6+ALMq8ca1bvFY0q2rByCFj5GJr2t8tJ0b9jT53L 9DRbLbX90iXXfT//RXP3srLBLWtTQe6fkZEthSFrNTsK/lB1mVlxr1tGL0dKnc578MrPd8 zHCu4hoCfx7gb+jYB31zULTNI3m9siXrxmVnzA3AmKb9LvKBdXf2ERjSGku/xA== 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 4MMv2j4LC7zRvV; Wed, 7 Sep 2022 07:26:53 +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 2877QrIu042646; Wed, 7 Sep 2022 07:26:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2877QrDe042645; Wed, 7 Sep 2022 07:26:53 GMT (envelope-from git) Date: Wed, 7 Sep 2022 07:26:53 GMT Message-Id: <202209070726.2877QrDe042645@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: 7a3fb8b190ce - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 7a3fb8b190ce242ff64faa80a287ce51db176bcf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662535613; 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=+7K77t09kQ5xsVbHeiBMegaZr6+os05A4LZ5/+bdPyQ=; b=OEHlq5a40q67LnsZWPM/F6dEtVt6xG+wvHhAaQcg6JKfO3wcawp45s+mFPoagIB8NLwfM6 LMpLXbk/ORx+uVEEKCMMHIny/gFdaZcdlVBCXV1fkkTNp7mqwP2hW8GP/OOLWm62i9CXWc 5ef0MOVW/B/3YILWbjney9IDwPjN8paL0fNQMOB7bIgsVX9/pje6B1fRx+bV13qt8clduX FpMGpj92c1+z1C55Eh6DG0Bcs8sObkrRzihP4Fg5+r/RhV6mqnR4f7xbozrSOQyXOhyn0P 8Sah4DjEum0peC8NTEyJ5m+oEsNjDNdeP3/D4bEuy8gq9ZslqZ4facfIoo0B6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662535613; a=rsa-sha256; cv=none; b=IHVSOIf7VmIEXQKOZEZTNjK4IL79SL6px8DTJWI4FK2gRKIAp7Kcr5PHblVfpO7AWPJ1la zuqoMbu9KI34Kr4zduIVAabXgg7NmO3sE/9qZ+9mf/6WmBf8fi1KLvQjJ/qdiUo6z6DDrM sJ9YoiHNTz8sGyNQPghOMmFlxM4MSyRfkqAGDK3O/H7ICRtMLl9aMCHfwIpNmuUa4ESj2E 4y7DynHUzx1f/9j+FvxrGdCk4Fdjc1fbwwc8wqo3jExfpAbN05jdZC7yiCznNNA+nPweoZ 3wgA2NVdAhlgQHkPjn7XMDFkslMSB7gOThaSkK0Ua/Sch+q7hbthczZ97yL9VQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=7a3fb8b190ce242ff64faa80a287ce51db176bcf commit 7a3fb8b190ce242ff64faa80a287ce51db176bcf Author: Gordon Bergling AuthorDate: 2022-09-04 10:47:49 +0000 Commit: Gordon Bergling CommitDate: 2022-09-07 07:22:29 +0000 tcp_hpts: Correct some typos in source code comments - s/occured/occurred/ - s/the the/the/ (cherry picked from commit d07a5018766e11d7f9d7f0c1aa5e0a9baa5ca6d6) --- 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 8f415dce3fe1..c9ce91efc607 100644 --- a/sys/netinet/tcp_hpts.c +++ b/sys/netinet/tcp_hpts.c @@ -1618,7 +1618,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); @@ -1664,7 +1664,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 bfbd34e65ff5..c9229d0b9ce1 100644 --- a/sys/netinet/tcp_hpts.h +++ b/sys/netinet/tcp_hpts.h @@ -214,7 +214,7 @@ void __tcp_hpts_remove(struct inpcb *inp, int32_t flags, int32_t line); * 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.