Re: [PATCH net-next] net, cgroup: cgroup_sk_updat_lock was missing initializer

From
David Miller <davem@davemloft.net>
Date
2015-12-14 19:20:53
Also in
cgroups, lkml, netfilter-devel
Reply to
Tejun Heo, 2015-12-14
From: Tejun Heo <tj@kernel.org>
Date: Mon, 14 Dec 2015 11:24:06 -0500
bd1060a1d671 ("sock, cgroup: add sock->sk_cgroup") added global
spinlock cgroup_sk_update_lock but erroneously skipped initializer
leading to uninitialized spinlock warning.  Fix it by using
DEFINE_SPINLOCK().

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Dexuan Cui <decui@microsoft.com>
Fixes: bd1060a1d671 ("sock, cgroup: add sock->sk_cgroup")
Applied, thanks.
Thread (23 messages) 23 messages, 8 authors, last reply 2016-02-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help