Skip to content

netfilter: Make xt_cgroup independent from net_cls

Michal Koutný cgroups lkml netdev netfilter-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 4 repliesIn review
  2. v21 patch 7 repliesSuperseded
  3. v11 patch 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3netfilter: Make xt_cgroup independent from net_clsnet/netfilter/Kconfig net/netfilter/xt_cgroup.c+18 -10 replies
2/3cgroup: Guard users of sock_cgroup_classid()net/ipv4/inet_diag.c net/netfilter/xt_cgroup.c+10 -10 replies
3/3cgroup: Drop sock_cgroup_classid() dummy implementationinclude/linux/cgroup-defs.h+4 -60 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTejun Heo
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] netfilter: Make xt_cgroup independent from net_cls

Changes from v2 (https://lore.kernel.org/r/[email protected]):
- 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

Signature · 1 line
2.48.1