diff options
author | Paul Menage <menage@google.com> | 2009-05-27 05:47:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-27 05:47:02 +0200 |
commit | e65fcfd63a9a62baa5708484ff8edbe56eb3e7ec (patch) | |
tree | 0d21a21c2b87ef1c8db600d6abed3ba3e22cdaef /scripts/headers_check.pl | |
parent | Merge branch 'linux-2.6.30.y' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
download | linux-e65fcfd63a9a62baa5708484ff8edbe56eb3e7ec.tar.xz linux-e65fcfd63a9a62baa5708484ff8edbe56eb3e7ec.zip |
cls_cgroup: read classid atomically in classifier
Avoid reading the unsynchronized value cs->classid multiple times,
since it could change concurrently from non-zero to zero; this would
result in the classifier returning a positive result with a bogus
(zero) classid.
Signed-off-by: Paul Menage <menage@google.com>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/headers_check.pl')
0 files changed, 0 insertions, 0 deletions