From nobody Sun Sep 4 10:46:17 2022 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 4ML7cB0PHKz4bJB2; Sun, 4 Sep 2022 10:46:18 +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 4ML7c971B5z474r; Sun, 4 Sep 2022 10:46:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662288378; 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=xgAQG84e1ydSlZMgr+BNlAA/ZIFN7aSyrhR0rUSVVCs=; b=o1pUIXwiU9COjt1OI74hHLvqGCeTXJWvJTQHnmwz7Ohdzpzsv3bq5knwPIAlCuu36dSmur IqTDhagCzoIkdhKu2jjdnc/XvmI8YwP52CMYRePem/WxInvuYXRwaeopIKSFRJwoN75PcZ N3trT8Xq0sSJEfYFNTzruX/dMOuMr19ooIg+Ecgjv+4//viakJApjiAccrloQHte56vnqT bZfJ+SZOT6afxEYsXzd2btwXWr/uhn4g7OSHjufbcZm2DnHCEIACVAe7Om1KhH0ZzuQS+3 dVBK31fMLIqyl6QzGAqwDt0bb/bghIwr80YEbSotsnoS8UzpT2PuJJPhgd2hDg== 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 4ML7c96269zSTN; Sun, 4 Sep 2022 10:46:17 +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 284AkHXm095775; Sun, 4 Sep 2022 10:46:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 284AkH8S095774; Sun, 4 Sep 2022 10:46:17 GMT (envelope-from git) Date: Sun, 4 Sep 2022 10:46:17 GMT Message-Id: <202209041046.284AkH8S095774@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: 4d89e2018cbc - main - netpfil: Correct some typos 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: 4d89e2018cbc7b70abdc1a78ea01a7c423a96347 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662288378; 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=xgAQG84e1ydSlZMgr+BNlAA/ZIFN7aSyrhR0rUSVVCs=; b=rgRJuE617LRN2Oupi/VGZP51GRXsy04dh6epvLwx7awEIA7yqKLx/5Add1S13XXjFAusCa mshIVvsY+yW9I483Rpjycgyu3HSsFF6ft09QP0e427/I+UpOXEHuojJlKFv8AFXyVdwTpl IlETiBJw0T5Mfws5RJubJctXiWkCn00Aabak/YD2KniPyQacdsP1dX++7eXzSJM5iR0FfS 8cUuf6xbdzEo5rKCX24WyI5TtLVG/+3jQls4/uxGGmo7jigw52bqWXztY8MY28zAK53tIg 76byyPfS25tz12Ydy220oWdGU7awKY5vre9n9I+kO+/4FcAWvvj52w6PcKbNEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662288378; a=rsa-sha256; cv=none; b=F+gKe41tveAJTlEwAo/I2zK/SMjZGDMbTC54WolROVukZzdkRxhjopiymLrjmrwVoCSRYL sAD2cxJDczCp/QbLLDtaAyrN3ftUNR4HtyXkH1PBEsz19+zJAnsdNZzjh8rIRlvmzXs/Ls 8sR/dmntH5uEAEhUWOMtdaa2YGEinpQUQCQ1OuS9Qx4TTaQ1IF96k1GzivvwlAdq7gXJyd chwL08LlGn9O3vFsDkZlybrBQcwFnh1ERBDiFkZjLQGbW9+JDtYQLlP2UrWxiuLiBW+t/c CZJHx3K7kza5kgUvSWwfOGYUdagnfnnXzhqU/NSGlDm+5zEQbd/YFk5xOQStTQ== 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=4d89e2018cbc7b70abdc1a78ea01a7c423a96347 commit 4d89e2018cbc7b70abdc1a78ea01a7c423a96347 Author: Gordon Bergling AuthorDate: 2022-09-04 10:46:05 +0000 Commit: Gordon Bergling CommitDate: 2022-09-04 10:46:05 +0000 netpfil: Correct some typos in source code comments - s/occured/occurred/ - s/the the/the/ MFC after: 3 days --- sys/netpfil/ipfilter/netinet/fil.c | 2 +- sys/netpfil/ipfilter/netinet/ip_fil.h | 2 +- sys/netpfil/ipfilter/netinet/ip_state.c | 2 +- sys/netpfil/ipfw/ip_fw_dynamic.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/netpfil/ipfilter/netinet/fil.c b/sys/netpfil/ipfilter/netinet/fil.c index 0371f816d33b..591e5f1a33cb 100644 --- a/sys/netpfil/ipfilter/netinet/fil.c +++ b/sys/netpfil/ipfilter/netinet/fil.c @@ -7360,7 +7360,7 @@ ipf_token_expire(ipf_main_softc_t *softc) /* Loop through all of the existing tokens and call deref to see if they */ /* can be freed. Normally a function like this might just loop on */ /* ipf_token_head but there is a chance that a token might have a ref count */ -/* of greater than one and in that case the the reference would drop twice */ +/* of greater than one and in that case the reference would drop twice */ /* by code that is only entitled to drop it once. */ /* ------------------------------------------------------------------------ */ static void diff --git a/sys/netpfil/ipfilter/netinet/ip_fil.h b/sys/netpfil/ipfilter/netinet/ip_fil.h index bf553faf2abe..85a79eda1172 100644 --- a/sys/netpfil/ipfilter/netinet/ip_fil.h +++ b/sys/netpfil/ipfilter/netinet/ip_fil.h @@ -833,7 +833,7 @@ typedef struct frentry { #define FR_STATESYNC 0x1000000 /* synchronize state to slave */ #define FR_COPIED 0x2000000 /* copied from user space */ #define FR_INACTIVE 0x4000000 /* only used when flush'ing rules */ -#define FR_NOMATCH 0x8000000 /* no match occured */ +#define FR_NOMATCH 0x8000000 /* no match occurred */ /* 0x10000000 FF_LOGPASS */ /* 0x20000000 FF_LOGBLOCK */ /* 0x40000000 FF_LOGNOMATCH */ diff --git a/sys/netpfil/ipfilter/netinet/ip_state.c b/sys/netpfil/ipfilter/netinet/ip_state.c index ecee192e5571..cc0e8559fb16 100644 --- a/sys/netpfil/ipfilter/netinet/ip_state.c +++ b/sys/netpfil/ipfilter/netinet/ip_state.c @@ -1904,7 +1904,7 @@ ipf_tcpoptions(ipf_state_softc_t *softs, fr_info_t *fin, tcphdr_t *tcp, /* * Extract the TCP options we are interested in out of - * the header and store them in the the tcpdata struct. + * the header and store them in the tcpdata struct. */ switch (opt) { diff --git a/sys/netpfil/ipfw/ip_fw_dynamic.c b/sys/netpfil/ipfw/ip_fw_dynamic.c index 00b54fa463ac..439ee0af047e 100644 --- a/sys/netpfil/ipfw/ip_fw_dynamic.c +++ b/sys/netpfil/ipfw/ip_fw_dynamic.c @@ -1851,7 +1851,7 @@ dyn_get_parent_state(const struct ipfw_flow_id *pkt, uint32_t zoneid, /* * We must exit from critical section because the following code * can acquire bucket mutex. - * We rely on the the 'count' field. The state will not expire + * We rely on the 'count' field. The state will not expire * until it has some child states, i.e. 'count' field is not zero. * Return state pointer, it will be used by child states as parent. */