]> Pileus Git - ~andy/linux/blobdiff - net/core/netprio_cgroup.c
Merge branch 'for-3.7-hierarchy' of git://git.kernel.org/pub/scm/linux/kernel/git...
[~andy/linux] / net / core / netprio_cgroup.c
index 6bc460c38e4fe5b6ce92d6b596d92185a01e2e6b..39e7e4d3cdb430e6c35fbe505fdcb32c710159f1 100644 (file)
@@ -328,7 +328,17 @@ struct cgroup_subsys net_prio_subsys = {
        .attach         = net_prio_attach,
        .subsys_id      = net_prio_subsys_id,
        .base_cftypes   = ss_files,
-       .module         = THIS_MODULE
+       .module         = THIS_MODULE,
+
+       /*
+        * net_prio has artificial limit on the number of cgroups and
+        * disallows nesting making it impossible to co-mount it with other
+        * hierarchical subsystems.  Remove the artificially low PRIOIDX_SZ
+        * limit and properly nest configuration such that children follow
+        * their parents' configurations by default and are allowed to
+        * override and remove the following.
+        */
+       .broken_hierarchy = true,
 };
 
 static int netprio_device_event(struct notifier_block *unused,