]> git.ipfire.org Git - thirdparty/nftables.git/commit
doc: Clarify cgroup meta variable
authorMichal Koutný <mkoutny@suse.com>
Mon, 30 Jun 2025 14:15:26 +0000 (16:15 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 3 Jul 2025 12:23:12 +0000 (14:23 +0200)
commit2ff29969b1a60cade7e3968aeddf90fde511ab57
tree0ca7e334a868b2019762be1311653eb40bbd6fe2
parent01acf253005ab89b9f2f94d2788644a54bed1c8f
doc: Clarify cgroup meta variable

The documentation mentions control group id where the meaning is a class
id associated to the cgroup of a socket. This used to be fine until
there came cgroup v2 that use similar terminolgy (cgroup id) for very
different thing -- a numeric identifier of a particular (v2) cgroup.

This contemporary cgroup id isn't exposed by netfilter (v2 matching is
based on paths externally). Fix the docs and decrease confusion by more
precise description of the metavariable.

[ Added comment in description to refer to socket cgroupv2 --pablo ]

Signed-off-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
doc/primary-expression.txt