netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Topi Miettinen <toiwoton@gmail.com>
To: netfilter-devel@vger.kernel.org
Cc: Topi Miettinen <toiwoton@gmail.com>
Subject: [PATCH] doc: Document that kernel may accept unimplemented expressions
Date: Sat,  9 Apr 2022 12:44:02 +0300	[thread overview]
Message-ID: <20220409094402.22567-1-toiwoton@gmail.com> (raw)

Kernel silently accepts input chain filters using meta skuid, meta
skgid, meta cgroup or socket cgroupv2 expressions but they don't work
yet. Warn the users of this possibility.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
---
 doc/nft.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/nft.txt b/doc/nft.txt
index f7a53ac9..4820b4ae 100644
--- a/doc/nft.txt
+++ b/doc/nft.txt
@@ -932,6 +932,11 @@ filter output oif wlan0
 ^^^^^^^^^^^^^^^^^^^^^^^
 ---------------------------------
 
+Note that the kernel may accept expressions without errors even if it
+doesn't implement the feature. For example, input chain filters using
+*meta skuid*, *meta skgid*, *meta cgroup* or *socket cgroupv2*
+expressions are silently accepted but they don't work yet.
+
 EXIT STATUS
 -----------
 On success, nft exits with a status of 0. Unspecified errors cause it to exit

base-commit: 6fa4ff56385831f01bd9d993178969a4eddbcdbf
-- 
2.35.1


             reply	other threads:[~2022-04-09  9:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-09  9:44 Topi Miettinen [this message]
2022-04-09  9:51 ` [PATCH] doc: Document that kernel may accept unimplemented expressions Florian Westphal
2022-04-09 10:10   ` Topi Miettinen
2022-04-09 10:22     ` Florian Westphal
2022-04-09 10:43       ` Topi Miettinen
2022-04-09 11:42         ` Florian Westphal
2022-04-09 13:01           ` Topi Miettinen
2022-04-10 15:16             ` Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220409094402.22567-1-toiwoton@gmail.com \
    --to=toiwoton@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).