Re: [PATCH 8/8] netfilter: implement xt_cgroup cgroup2 path match
From: Tejun Heo
Date: Fri Feb 12 2016 - 11:06:08 EST
Hello,
On Fri, Feb 12, 2016 at 01:10:18AM +0100, Alban Crequy wrote:
> Is there any plans to implement a similar cgroup2 path match in a
> cgroup classifier in tc?
That'd be great. I wanted to but couldn't figure out the heads and
tails after staring at the code for half an hour.
> I wonder if it will be possible to use cgroup to classify packets in
> tc without net_cls.class_id in cgroup2.
You can still match against cgroup v2 path using xt_cgroup and then
mark it and then match that from tc, which isn't ideal but works.
Thanks.
--
tejun