From: Paul Menage Date: Wed, 27 May 2009 03:47:02 +0000 (-0700) Subject: cls_cgroup: read classid atomically in classifier X-Git-Tag: v2.6.30-rc8~9^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e65fcfd63a9a62baa5708484ff8edbe56eb3e7ec;p=pandora-kernel.git 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 Reviewed-by: Li Zefan Signed-off-by: David S. Miller --- Reading git-diff-tree failed