From nobody Mon Nov 14 11:20:39 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 4N9n136ZzVz4dM2c; Mon, 14 Nov 2022 11:20:39 +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 4N9n135f7mz3RD2; Mon, 14 Nov 2022 11:20:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668424839; 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=9RqmZI1kn/q+1IgrnHNqc8RMHuoquzgb2Y6QGEUAvVk=; b=NYArfl9lCwgksJF5T62/Zdj6YSiLEFBed/HAMUdEolvnARFsgMwfQnmS9Yzt7icwgPJQ1a 7yG5Kikmg8F+fyRFzrDpQzsKAelT7ONPbrrSisnzjJwocZhNYsDBVPkt4HB+05HKM1pMlJ h1AX4Oxf5rgoDN/SfW0BRVdPUKaUB5OwaF1Wnu+ti4O5+UfAj7SQR1GNry6fjvzv1l944g iaak15CEa4mNKBR3aV39ye7edcHati9V/LJ1wPoUG9PajQuXhqVZn0+zZcHm70pSKXGiD7 2CRfQI3rsYASh6CjRH1rLkjFrCs9yf43EE+gwR0/jiUIht66kStBGHCPGd5gNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668424839; 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=9RqmZI1kn/q+1IgrnHNqc8RMHuoquzgb2Y6QGEUAvVk=; b=b+dJiKLT5y2US9VpTg3+O6ywmeohQxzRtX6RrbzdEYQQUHVGWbQEmiAvSNwiFqcec8uAoU Ar3D4NBbBwuwpd7B1Qd7CaogWHV33p6X4BqoomLPYSKVqEzxD0Q8cIOvlo4tnsuiahCSnP UHGmYE9JbJDkMDKO+0bARS+uRRZXSUaB1nyFj5ISHX0ryNdFvIEF6gltZTgyX29+fnr6Yc r1fL6boo8sjpDQiMXFZvEk8K8vftcLZedKSz/tvG7XpMwPU8vhDjNDrJBTGLOetiYc8EYR BZkEPlqpNsoEA9vM/+AR44YN6jadYvuwb46BftdVVN2NJuqci7kxCDAXYruHkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668424839; a=rsa-sha256; cv=none; b=Dyu0kmKTTEzMkDFtmzX4PRjjj104sgtCHb3buaVWg5qfsqLAMDafTMIxE605rfLxiZ3W5Z cNhd2Q62qdMynM+ZOohJVzk5Q8OaywCCIYquunZjqliRhCO0TDHaEHVXb4Rpm7kfdOeDT3 emF2vm3rnM1oBD4GICq45XnFW7gMaVrd//Gz3ks2AWStVJM8WalTfHic4h++GxhYL0dlDS Z2gCq9gDV/EnFubmT17F420xchBykIwkOEFeovENGzkvh0c9Hzxj6lIMlrK/zQzr+hpCAO rfpSvU65gIjHHpdSxqxPBEBMLLpB4744aLrOQU8/Naxe4AOgFQlZ+mxxXu1ipw== 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 4N9n134j75zfZM; Mon, 14 Nov 2022 11:20:39 +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 2AEBKdeD035740; Mon, 14 Nov 2022 11:20:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AEBKd26035739; Mon, 14 Nov 2022 11:20:39 GMT (envelope-from git) Date: Mon, 14 Nov 2022 11:20:39 GMT Message-Id: <202211141120.2AEBKd26035739@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Dag-Erling=20Sm=C3=B8rgrav?= Subject: git: 1854fb8fd8ba - main - ipfw: Spell PFIL_PASS correctly. 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: des X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1854fb8fd8ba7d263d37b7fbfa1b6420036a1f4a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=1854fb8fd8ba7d263d37b7fbfa1b6420036a1f4a commit 1854fb8fd8ba7d263d37b7fbfa1b6420036a1f4a Author: Dag-Erling Smørgrav AuthorDate: 2022-11-12 13:20:06 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2022-11-14 11:20:19 +0000 ipfw: Spell PFIL_PASS correctly. Sponsored by: Netapp Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D37375 --- sys/netpfil/ipfw/ip_fw_pfil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netpfil/ipfw/ip_fw_pfil.c b/sys/netpfil/ipfw/ip_fw_pfil.c index 01a44df47180..29ae06ba7713 100644 --- a/sys/netpfil/ipfw/ip_fw_pfil.c +++ b/sys/netpfil/ipfw/ip_fw_pfil.c @@ -139,7 +139,7 @@ again: args.rule = *((struct ipfw_rule_ref *)(tag+1)); m_tag_delete(*m0, tag); if (args.rule.info & IPFW_ONEPASS) - return (0); + return (PFIL_PASS); args.flags |= IPFW_ARGS_REF; } @@ -213,7 +213,7 @@ again: if ((args.flags & IPFW_ARGS_NH6) == 0) bcopy(psa, tag + 1, len); m_tag_prepend(*m0, tag); - ret = 0; + ret = PFIL_PASS; #ifdef INET6 /* IPv6 next hop needs additional handling */ if (args.flags & (IPFW_ARGS_NH6 | IPFW_ARGS_NH6PTR)) {