Message ID | 939566f5-abe3-3526-d4ff-ec6bf8e8c138@huawei.com |
---|---|
State | Superseded |
Delegated to: | David Miller |
Headers | show |
Series | netprio_cgroup: Fix unlimited memory leak of v2 cgroup | expand |
diff --git a/net/core/netprio_cgroup.c b/net/core/netprio_cgroup.c index b905747..2397866 100644 --- a/net/core/netprio_cgroup.c +++ b/net/core/netprio_cgroup.c @@ -240,6 +240,8 @@ static void net_prio_attach(struct cgroup_taskset *tset) struct task_struct *p; struct cgroup_subsys_state *css; + cgroup_sk_alloc_disable(); + cgroup_taskset_for_each(p, css, tset) { void *v = (void *)(unsigned long)css->cgroup->id;