Hello, Daniel.
On Tue, Nov 17, 2015 at 10:48:46PM +0100, Daniel Borkmann wrote:
quoted
Unfortunately, sk->sk_cgrp_prioidx is an arbitrary value which can be
configured through "net_cls.classid". :(
Hmm, isn't net_prio independent of net_cls?
Ah, yeah, I was mixing up the two but the story is the same for both.
net_prio configures the prioidx and net_cls the classid and the two
may or may not (but more likely not) be on the same hierarchy and
definitely not on the cgroup2 hierarchy, so you can't really access
them through a single ->sk_cgroup pointer. After all, that's why we
ended up with these controllers.
Thanks.
--
tejun