diff options
author | Li Zefan | 2010-09-02 17:42:43 +0200 |
---|---|---|
committer | David S. Miller | 2010-09-03 18:55:24 +0200 |
commit | 3fb5a991916091a908d53608a5899240039fb51e (patch) | |
tree | fa8e5855de904daffba92bd177fa57ee85641521 /include/net/mld.h | |
parent | be2net: remove a BUG_ON in be_cmds.c (diff) | |
download | kernel-qcow2-linux-3fb5a991916091a908d53608a5899240039fb51e.tar.gz kernel-qcow2-linux-3fb5a991916091a908d53608a5899240039fb51e.tar.xz kernel-qcow2-linux-3fb5a991916091a908d53608a5899240039fb51e.zip |
cls_cgroup: Fix rcu lockdep warning
Dave reported an rcu lockdep warning on 2.6.35.4 kernel
task->cgroups and task->cgroups->subsys[i] are protected by RCU.
So we avoid accessing invalid pointers here. This might happen,
for example, when you are deref-ing those pointers while someone
move @task from one cgroup to another.
Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/mld.h')
0 files changed, 0 insertions, 0 deletions