[<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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists