Commit 38de430
cgroup: add missing skcd->no_refcnt check in cgroup_sk_clone()
Add skcd->no_refcnt check which is missed when backporting
ad0f75e ("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@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 37274b5 commit 38de430
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5957 | 5957 | | |
5958 | 5958 | | |
5959 | 5959 | | |
| 5960 | + | |
| 5961 | + | |
5960 | 5962 | | |
5961 | 5963 | | |
5962 | 5964 | | |
| |||
0 commit comments