[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090526.204710.124271694.davem@davemloft.net>
Date: Tue, 26 May 2009 20:47:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: menage@...gle.com
Cc: lizf@...fujitsu.com, akpm@...ux-foundation.org, tgraf@...g.ch,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] cls_cgroup: read classid atomically in classifier
From: Paul Menage <menage@...gle.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@...gle.com>
> Reviewed-by: Li Zefan <lizf@...fujitsu.com>
Patch applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists