Re: [PATCH] cgroup: rstat: call cgroup_rstat_updated_list with cgroup_rstat_lock
From: Yosry Ahmed
Date: Tue Apr 01 2025 - 17:38:06 EST
April 1, 2025 at 7:09 PM, "Shakeel Butt" <shakeel.butt@xxxxxxxxx> wrote:
>
> The commit 093c8812de2d ("cgroup: rstat: Cleanup flushing functions and
> locking") during cleanup accidentally changed the code to call
> cgroup_rstat_updated_list() without cgroup_rstat_lock which is required.
> Fix it.
>
> Fixes: 093c8812de2d ("cgroup: rstat: Cleanup flushing functions and locking")
> Reported-by: Jakub Kicinski <kuba@xxxxxxxxxx>
> Reported-by: Breno Leitao <leitao@xxxxxxxxxx>
> Reported-by: Venkat Rao Bagalkote <venkat88@xxxxxxxxxxxxx>
> Closes: https://lore.kernel.org/all/6564c3d6-9372-4352-9847-1eb3aea07ca4@xxxxxxxxxxxxx/
> Signed-off-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>
Thanks for fixing this.
Reviewed-by: Yosry Ahmed <yosry.ahmed@xxxxxxxxx>