netcls_cgroup: move config inheritance to ->css_online() and remove .broken_hierarchy...
authorTejun Heo <tj@kernel.org>
Thu, 22 Nov 2012 15:32:46 +0000 (07:32 -0800)
committerTejun Heo <tj@kernel.org>
Thu, 22 Nov 2012 15:32:46 +0000 (07:32 -0800)
commit0ba18f7a5e268e095f79e32b7b47e8ce4fbabbe2
tree43bd8423515aeb6671c3b80ea3be3f07773d3c19
parentd0b2fdd2a51203f04ea0a5d716e033c15e0231af
netcls_cgroup: move config inheritance to ->css_online() and remove .broken_hierarchy marking

It turns out that we'll have to live with attributes which are
inherited at cgroup creation time but not affected by further updates
to the parent afterwards - such attributes are already in wide use
e.g. for cpuset.

So, there's nothing to do for netcls_cgroup for hierarchy support.
Its current behavior - inherit only during creation - is good enough.

Move config inheriting from ->css_alloc() to ->css_online() for
consistency, which doesn't change behavior at all, and remove
.broken_hierarchy marking.

Signed-off-by: Tejun Heo <tj@kernel.org>
Tested-and-Acked-by: Daniel Wagner <daniel.wagner@bmw-carit.de>
Acked-by: David S. Miller <davem@davemloft.net>
net/sched/cls_cgroup.c