]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/cgroup.c
Revert "mac80211: use netif_receive_skb in ieee80211_tx_status callpath"
[net-next-2.6.git] / kernel / cgroup.c
index 37642ad9cca8e351e0deff696436701f2b62c6c0..a8ce099544049e787464c3e4261ac70625cc0653 100644 (file)
@@ -4621,7 +4621,7 @@ static int alloc_css_id(struct cgroup_subsys *ss, struct cgroup *parent,
        parent_css = parent->subsys[subsys_id];
        child_css = child->subsys[subsys_id];
        parent_id = parent_css->id;
-       depth = parent_id->depth;
+       depth = parent_id->depth + 1;
 
        child_id = get_new_cssid(ss, depth);
        if (IS_ERR(child_id))