On Mon, Mar 9, 2020 at 3:41 PM Andrii Nakryiko <andriin@xxxxxx> wrote: > > There is no compensating cgroup_bpf_put() for each ancestor cgroup in > cgroup_bpf_inherit(). If compute_effective_progs returns error, those cgroups > won't be freed ever. Fix it by putting them in cleanup code path. > > Fixes: e10360f815ca ("bpf: cgroup: prevent out-of-order release of cgroup bpf") > Signed-off-by: Andrii Nakryiko <andriin@xxxxxx> Applied. Thanks