Re: [PATCH] cgroups: Account for CSS_DEACT_BIAS in __css_put

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 15, 2012 at 03:20:28PM +0800, Li Zefan wrote:
> On 2012/6/15 5:55, Salman Qazi wrote:
> 
> > When we fixed the race between atomic_dec and css_refcnt, we missed
> > the fact that css_refcnt internally subtracts CSS_DEACT_BIAS to get
> > the actual reference count.  This can potentially cause a refcount leak
> > if __css_put races with cgroup_clear_css_refs.
> > 
> > Signed-off-by: Salman Qazi <sqazi@xxxxxxxxxx>
> 
> 
> Hope we've got everything right this time!
> 
> Acked-by: Li Zefan <lizefan@xxxxxxxxxx>

Applied to for-3.5-fixes.  Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux