From: Michal Koutný Date: Mon, 30 Jun 2025 14:15:26 +0000 (+0200) Subject: doc: Clarify cgroup meta variable X-Git-Tag: v1.1.4~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ff29969b1a60cade7e3968aeddf90fde511ab57;p=thirdparty%2Fnftables.git 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ý Signed-off-by: Pablo Neira Ayuso --- diff --git a/doc/primary-expression.txt b/doc/primary-expression.txt index ea231fe5..2266724e 100644 --- a/doc/primary-expression.txt +++ b/doc/primary-expression.txt @@ -117,7 +117,7 @@ devgroup outgoing device group| devgroup |cgroup| -control group id | +control group net_cls.classid (for matching on cgroupv2, see *socket cgroupv2*)| integer (32 bit) |random| pseudo-random number|