aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-03-09 15:40:17 -0700
committerAlexei Starovoitov <[email protected]>2020-03-09 19:58:54 -0700
commit1d8006abaab4cb90f81add86e8d1bf9411add05a (patch)
treeb6dd24074e513d6fb9845dbfe28b30f2c7dcd671 /scripts/gdb/linux/timerlist.py
parent62039c30c19dcab96621e074aeeb90da7100def7 (diff)
bpf: Fix cgroup ref leak in cgroup_bpf_inherit on out-of-memory
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 <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Roman Gushchin <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions