# Re: \[PATCH 8/8\] netfilter: implement xt\_cgroup cgroup2 path match

- From: Tejun Heo \<hidden\>
- Date: 2016-02-12 16:06:04 
- List: netdev
- Page: https://ratatoskr.run/netdev/2016/02/4684032
- Thread: https://ratatoskr.run/netdev/2015/12/4637114/t.md

```text
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
```
