Changes from v2 (https://lore.kernel.org/r/20250305170935.80558-1-mkoutny@xxxxxxxx): - don't accept zero classid neither (Pablo N. A.) - eliminate code that might rely on comparison against zero with !CONFIG_CGROUP_NET_CLASSID Michal Koutný (3): netfilter: Make xt_cgroup independent from net_cls cgroup: Guard users of sock_cgroup_classid() cgroup: Drop sock_cgroup_classid() dummy implementation include/linux/cgroup-defs.h | 10 ++++------ net/ipv4/inet_diag.c | 2 +- net/netfilter/Kconfig | 2 +- net/netfilter/xt_cgroup.c | 26 ++++++++++++++++++++++++++ 4 files changed, 32 insertions(+), 8 deletions(-) base-commit: dd83757f6e686a2188997cb58b5975f744bb7786 -- 2.48.1