Messages in this thread | | | Date | Tue, 26 May 2009 20:47:10 -0700 (PDT) | Subject | Re: [PATCH] cls_cgroup: read classid atomically in classifier | From | David Miller <> |
| |
From: Paul Menage <menage@google.com> Date: Tue, 26 May 2009 12:59:11 -0700
> 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>
Patch applied, thanks!
| |