public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] netfilter: Make xt_cgroup independent from net_cls
@ 2025-04-01 11:57 Michal Koutný
  2025-04-01 11:57 ` [PATCH v3 1/3] " Michal Koutný
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Michal Koutný @ 2025-04-01 11:57 UTC (permalink / raw)
  To: netfilter-devel, cgroups, linux-kernel, coreteam, netdev
  Cc: Michal Koutný, Paolo Abeni, Simon Horman, David Ahern,
	Tejun Heo, Pablo Neira Ayuso, Eric Dumazet, David S. Miller,
	Johannes Weiner, Jakub Kicinski, Jozsef Kadlecsik

Changes from v2 (https://lore.kernel.org/r/20250305170935.80558-1-mkoutny@suse.com):
- 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-04-15 16:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-01 11:57 [PATCH v3 0/3] netfilter: Make xt_cgroup independent from net_cls Michal Koutný
2025-04-01 11:57 ` [PATCH v3 1/3] " Michal Koutný
2025-04-01 11:57 ` [PATCH v3 2/3] cgroup: Guard users of sock_cgroup_classid() Michal Koutný
2025-04-01 11:57 ` [PATCH v3 3/3] cgroup: Drop sock_cgroup_classid() dummy implementation Michal Koutný
2025-04-02  7:43 ` [PATCH v3 0/3] netfilter: Make xt_cgroup independent from net_cls Tejun Heo
2025-04-09 16:56 ` Michal Koutný
2025-04-15 15:09   ` Pablo Neira Ayuso
2025-04-15 16:06     ` Michal Koutný

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox