Re: [PATCH iproute2] lib: ignore invalid mounts in cg_init_map

2020-10-11 Thread Stephen Hemminger
On Thu, 8 Oct 2020 20:59:27 +0300 Dmitry Yakunin wrote: > In case of bad entries in /proc/mounts just skip cgroup cache initialization. > Cgroups in output will be shown as "unreachable:cgroup_id". > > Fixes: d5e6ee0dac64 ("ss: introduce cgroup2 cache and helper functions") > Signed-off-by: Dmi

Re: [PATCH iproute2] lib: ignore invalid mounts in cg_init_map

2020-10-08 Thread Donald Sharp
I've tested this patch and it works for me. donald On 10/8/20, 2:00 PM, "Dmitry Yakunin" wrote: External email: Use caution opening links or attachments In case of bad entries in /proc/mounts just skip cgroup cache initialization. Cgroups in output will be shown as "unreachable:

[PATCH iproute2] lib: ignore invalid mounts in cg_init_map

2020-10-08 Thread Dmitry Yakunin
In case of bad entries in /proc/mounts just skip cgroup cache initialization. Cgroups in output will be shown as "unreachable:cgroup_id". Fixes: d5e6ee0dac64 ("ss: introduce cgroup2 cache and helper functions") Signed-off-by: Dmitry Yakunin Reported-by: Donald Sharp --- lib/cg_map.c | 5 ++---