From nobody Sun Sep 18 06:29:21 2022 X-Original-To: dev-commits-src-branches@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 4MVdFF4pGbz4c3tY; Sun, 18 Sep 2022 06:29:21 +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 4MVdFF460Xz3fFd; Sun, 18 Sep 2022 06:29:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663482561; 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=vKDYMb9rU1sh1VL1ml9xoA7oF6ayBZXEcJgot74WnUQ=; b=MYYrN0ZMDdzLqD4KHTRjTqNaNfJHC2iGFemW89OuiFraeiaoAivTrhqZABi9Qk9HJTsCr+ 1gSacEzP61PB+QwOlqS4Du3kC0dnJE0p8sCATS9hOIBC68Qydm/lnMblcQ7ToZ1MqrQdGA Nqz0C12OB0KlEIgEgzSFWGhSCJEsXspmAGiDAvfwXBj6kMzH1Y2evC1X0Sc5Y6jMkAtZ6k dBoQ4rKHHUwOCa4WubJczAtEq/s+SxhbAsHJzRPfB9PO5ifbKB7MtDfcDw0wWSv3iHjxAs 5cJkrB7grPXs/rz+SWpV9hf3qWAI6kgz4Bin5iq+n+E96q6W8XGiuqycJG7q3Q== 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 4MVdFF2pnGzxR9; Sun, 18 Sep 2022 06:29:21 +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 28I6TL29068688; Sun, 18 Sep 2022 06:29:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28I6TLvn068687; Sun, 18 Sep 2022 06:29:21 GMT (envelope-from git) Date: Sun, 18 Sep 2022 06:29:21 GMT Message-Id: <202209180629.28I6TLvn068687@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: 9e4f68befae2 - stable/12 - netpfil: Fix some typos in source code comments List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/12 X-Git-Reftype: branch X-Git-Commit: 9e4f68befae2c1bdddc80fd2d366ba3382fe938a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663482561; 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=vKDYMb9rU1sh1VL1ml9xoA7oF6ayBZXEcJgot74WnUQ=; b=l7YMpc8ltIjR4q9QTM/G6AauhCnXjTIjmeSPJ8lTmYzdRQYqxGRNAww/fEKQZ7vkqzng+Q AAxRp0GOqjeeOUcISH7orsMaVI0oS3ge4pxgozQYf4RN7Ric4UAWpxIlkEkFpePrcU8/hh 97V+9GLsbDzjY+P2lY69OdCOKAlXyMzdmFMsRwUfm1o2fKPvWKr8fZ/ryl8X+1JvAqNfAF Tvtw3tqNAlgynMv2Cp/fMNJ0Yf+CW2YDpnORUsKMIP0Idr5SRX6R0cQXRaMbhvJj/nyrNS z7BNAt74/8czi497x+CQf3cTj8hCSUmiStJHb1qtKnZlX6i5S0N7MN9qNtCGZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663482561; a=rsa-sha256; cv=none; b=ZuraI7QJc58b/AcVylX6I5JHnpgAm3W69YKCg/3pFvjedptdLq2LfKwm+ybV3BRnsjsoIN j1YZYcCn1xuoHJuQzfzaO4ORwyBSBhmeS5XlpVue6fUoeY80IGGmiqgHeiVYjCxCpaDKq8 dl7TeUZVQRMg/Dif1HOZfO2zxCzpibjYVQ6EzaX3fGMlNNNLp4y1P7zell+PpfjUnmBhLe 2nL2SnSb4yZkI73LQpMfjFKGCYpwgJPXqRnAgeQqisqnqQBW04fgaKl1lj/uPsrWW0KuZs 4G+E+2NfjCD5euKDZ0c+d/VTJL7LAhBO9WGd+S4f/ybD+AolyqY73Ldim5IQMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=9e4f68befae2c1bdddc80fd2d366ba3382fe938a commit 9e4f68befae2c1bdddc80fd2d366ba3382fe938a Author: Gordon Bergling AuthorDate: 2022-09-15 08:24:00 +0000 Commit: Gordon Bergling CommitDate: 2022-09-18 06:28:36 +0000 netpfil: Fix some typos in source code comments - s/paramter/parameter/ - s/paramters/parameters/ (cherry picked from commit d53555d63b18f141b752ef6e7a2762fc73a47956) --- sys/netpfil/ipfilter/netinet/fil.c | 2 +- sys/netpfil/ipfilter/netinet/ip_pool.c | 6 +++--- sys/netpfil/ipfilter/netinet/radix_ipf.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/netpfil/ipfilter/netinet/fil.c b/sys/netpfil/ipfilter/netinet/fil.c index 322de20413c4..4fa90f64fb33 100644 --- a/sys/netpfil/ipfilter/netinet/fil.c +++ b/sys/netpfil/ipfilter/netinet/fil.c @@ -7121,7 +7121,7 @@ ipf_ipftune(ipf_main_softc_t *softc, ioctlcmd_t cmd, void *data) case SIOCIPFSET : /* * Search by name or by cookie value for a particular entry - * in the tuning paramter table. + * in the tuning parameter table. */ IPFERROR(77); error = ESRCH; diff --git a/sys/netpfil/ipfilter/netinet/ip_pool.c b/sys/netpfil/ipfilter/netinet/ip_pool.c index a617e6cf19de..99394232fc2f 100644 --- a/sys/netpfil/ipfilter/netinet/ip_pool.c +++ b/sys/netpfil/ipfilter/netinet/ip_pool.c @@ -886,7 +886,7 @@ ipf_pool_insert_node(ipf_main_softc_t *softc, ipf_pool_softc_t *softp, /* op(I) - pointer to iplookup struct with call details */ /* Locks: WRITE(ipf_poolrw) */ /* */ -/* Creates a new group according to the paramters passed in via the */ +/* Creates a new group according to the parameters passed in via the */ /* iplookupop structure. Does not check to see if the group already exists */ /* when being inserted - assume this has already been done. If the pool is */ /* marked as being anonymous, give it a new, unique, identifier. Call any */ @@ -1018,11 +1018,11 @@ ipf_pool_remove_node(ipf_main_softc_t *softc, ipf_pool_softc_t *softp, /* Returns: int - 0 = success, else error */ /* Parameters: softc(I) - pointer to soft context main structure */ /* softp(I) - pointer to soft context pool information */ -/* unit(I) - ipfilter device to which we are working on */ +/* unit(I) - ipfilter device to which we are working on */ /* name(I) - name of the pool */ /* Locks: WRITE(ipf_poolrw) or WRITE(ipf_global) */ /* */ -/* Search for a pool using paramters passed in and if it's not otherwise */ +/* Search for a pool using parameters passed in and if it's not otherwise */ /* busy, free it. If it is busy, clear all of its nodes, mark it for being */ /* deleted and return an error saying it is busy. */ /* */ diff --git a/sys/netpfil/ipfilter/netinet/radix_ipf.c b/sys/netpfil/ipfilter/netinet/radix_ipf.c index 95daee99ec42..031452da9f45 100644 --- a/sys/netpfil/ipfilter/netinet/radix_ipf.c +++ b/sys/netpfil/ipfilter/netinet/radix_ipf.c @@ -91,7 +91,7 @@ count_mask_bits(addrfamily_t *mask, u_32_t **lastp) /* associated with addr and mask. */ /* */ /* Initialise the fields in a pair of radix tree nodes according to the */ -/* data supplied in the paramters "addr" and "mask". It is expected that */ +/* data supplied in the parameters "addr" and "mask". It is expected that */ /* "mask" will contain a consecutive string of bits set. Masks with gaps in */ /* the middle are not handled by this implementation. */ /* ------------------------------------------------------------------------ */