From nobody Tue Nov 30 09:42:18 2021 X-Original-To: dev-commits-src-main@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 1D8ED18C0BE1; Tue, 30 Nov 2021 09:42:20 +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 4J3HLg2gcYz4q76; Tue, 30 Nov 2021 09:42:19 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 DBCFF1403E; Tue, 30 Nov 2021 09:42:18 +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 1AU9gI6C006756; Tue, 30 Nov 2021 09:42:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AU9gIng006755; Tue, 30 Nov 2021 09:42:18 GMT (envelope-from git) Date: Tue, 30 Nov 2021 09:42:18 GMT Message-Id: <202111300942.1AU9gIng006755@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: 1dadeab36762 - main - netinet: Fix a common typo in source code comments List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: 1dadeab36762c26f92f60bc43b1bf3854aa13d88 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638265339; 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=uWjZaXs+I8qVPronkXIWsxzoo4BAZ4RBUkhmJgX/3q0=; b=LDK9tKp9VqAqbSNtm/mCQijtN75NVq9Qm5StN52YJfH3VhUTVOkXP7z+4W6IvCadT16xc6 p4sJzFBiMok3g6DVMNorsHMucIhPbsEoAYNTgvjCxftXm18/tuMMYX7tQ7ax6+A5IhwXSz mm4lRtHa1pzl/IC+B1MN6n0ssLIgT/u+Z8My0HyV0/TgtHhWAIP4Ry9fPxSLp33XeaGlRc LrRSuDR7/9qJ32M1DeR6sSpbgle9kI0OURT78uJv3n2Hj95cRBtoO7FR6v3zw+mPnDWky/ xbwZqwQ22v2tTKk7fHuHy2yoQaL94+Hi8enqIvWniOac0HJPMqx71flg8qo2eg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638265339; a=rsa-sha256; cv=none; b=o3aeGQkxz8cdZR4Rr7VH8b/COxgpB6w4vO3E8iCtUlqlpOTsOY4337zPgGqxUQfESiehRt 8sMySfdRg/9+qEUyXM6SLzaOTWKhDkXoFqXjnoLYl5acNF7mgleYlrcUEtr1JlOafpqCZM ISCDx/O1x0+LkiHY6OEsZo9qyMgM4YLoYAF+NLlkCSdoxCcrRkADGQAWMruIiwDT5/Gujy xI6xMd7gAofDdsOtR70q7Fid5r5nJ70W3n3aLP0bP48r1mqHSh9KZi6C6uKNTVJ4nknyXs GG/wIJm5Gonp8tVXoJA4Jlt1DjeUmp8A2gwoI/sLNTfzK8B3mwjNSi21sObSNw== 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=1dadeab36762c26f92f60bc43b1bf3854aa13d88 commit 1dadeab36762c26f92f60bc43b1bf3854aa13d88 Author: Gordon Bergling AuthorDate: 2021-11-30 09:37:20 +0000 Commit: Gordon Bergling CommitDate: 2021-11-30 09:37:20 +0000 netinet: Fix a common typo in source code comments - s/segement/segment/ MFC after: 3 days --- sys/netinet/tcp_lro.c | 2 +- sys/netinet/tcp_stacks/bbr.c | 2 +- sys/netinet/tcp_stacks/rack.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/netinet/tcp_lro.c b/sys/netinet/tcp_lro.c index ea23ad75994d..08556009b8c4 100644 --- a/sys/netinet/tcp_lro.c +++ b/sys/netinet/tcp_lro.c @@ -1030,7 +1030,7 @@ again: } if ((th->th_flags & ~(TH_ACK | TH_PUSH)) != 0) { /* - * Make sure that previously seen segements/ACKs are delivered + * Make sure that previously seen segments/ACKs are delivered * before this segment, e.g. FIN. */ le->m_head->m_nextpkt = m->m_nextpkt; diff --git a/sys/netinet/tcp_stacks/bbr.c b/sys/netinet/tcp_stacks/bbr.c index 718f4ddc2a56..eb64a28f8565 100644 --- a/sys/netinet/tcp_stacks/bbr.c +++ b/sys/netinet/tcp_stacks/bbr.c @@ -309,7 +309,7 @@ int32_t bbr_sends_full_iwnd = 1; * * To implement BBR and RACK the original TCP stack was first decomposed * into a functional state machine with individual states - * for each of the possible TCP connection states. The do_segement + * for each of the possible TCP connection states. The do_segment * functions role in life is to mandate the connection supports SACK * initially and then assure that the RACK state matches the conenction * state before calling the states do_segment function. Data processing diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c index 30c8e18f2adb..a17e598f6477 100644 --- a/sys/netinet/tcp_stacks/rack.c +++ b/sys/netinet/tcp_stacks/rack.c @@ -173,7 +173,7 @@ struct sysctl_oid *rack_sysctl_root; * * To implement RACK the original TCP stack was first decomposed * into a functional state machine with individual states - * for each of the possible TCP connection states. The do_segement + * for each of the possible TCP connection states. The do_segment * functions role in life is to mandate the connection supports SACK * initially and then assure that the RACK state matches the conenction * state before calling the states do_segment function. Each