On 01/17, Christian Brauner wrote: > > +static int cgroup_css_set_fork(struct task_struct *parent, > + struct kernel_clone_args *kargs) ... > + kargs->cset = find_css_set(cset, dst_cgrp); > + if (!kargs->cset) { > + ret = -ENOMEM; > + goto err; > + } > + > + if (cgroup_is_dead(dst_cgrp)) { > + ret = -ENODEV; > + goto err; ^^^^^^^^ this looks wrong... don't we need put_css_set(kargs->cset) before "goto err" ? Oleg.