Re: [PATCH] cgroup: rstat: call cgroup_rstat_updated_list with cgroup_rstat_lock

From: Tejun Heo
Date: Tue Apr 01 2025 - 13:33:57 EST


On Tue, Apr 01, 2025 at 10:09:12AM -0700, Shakeel Butt 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>

Applied to cgroup/for-6.15-fixes.

Thanks.

--
tejun