Re: [PATCH stable-4.19] cgroup: add missing skcd->no_refcnt check in cgroup_sk_clone()

From: Sasha Levin
Date: Fri Aug 14 2020 - 12:41:24 EST


On Thu, Aug 13, 2020 at 08:33:42PM +0000, Yang Yingliang wrote:
Add skcd->no_refcnt check which is missed when backporting
ad0f75e5f57c ("cgroup: fix cgroup_sk_alloc() for sk_clone_lock()").

This patch is needed in stable-4.9, stable-4.14 and stable-4.19.

Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>

I've queued up this and the 4.14 & 4.9 backports, thanks!

--
Thanks,
Sasha