[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160212160558.GE3741@mtj.duckdns.org>
Date: Fri, 12 Feb 2016 11:05:58 -0500
From: Tejun Heo <tj@...nel.org>
To: Alban Crequy <alban.crequy@...il.com>
Cc: David Miller <davem@...emloft.net>, pablo@...filter.org,
kaber@...sh.net, kadlec@...ckhole.kfki.hu, daniel@...earbox.net,
daniel.wagner@...-carit.de, nhorman@...driver.com,
Li Zefan <lizefan@...wei.com>,
Johannes Weiner <hannes@...xchg.org>, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
cgroups@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
kernel-team@...com, ninasc@...com, Jan Engelhardt <jengelh@...i.de>
Subject: Re: [PATCH 8/8] netfilter: implement xt_cgroup cgroup2 path match
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
Powered by blists - more mailing lists