summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb-serial.c
diff options
context:
space:
mode:
authorSalman Qazi <sqazi@google.com>2012-06-14 23:55:30 +0200
committerTejun Heo <tj@kernel.org>2012-06-19 00:38:02 +0200
commit8e3bbf42c6d73881956863cc3305456afe2bc4ea (patch)
treebb3369e7444a2efe8e890ddd341e576e3cba18c1 /drivers/usb/serial/usb-serial.c
parentcgroup: make sure that decisions in __css_put are atomic (diff)
downloadlinux-8e3bbf42c6d73881956863cc3305456afe2bc4ea.tar.xz
linux-8e3bbf42c6d73881956863cc3305456afe2bc4ea.zip
cgroups: Account for CSS_DEACT_BIAS in __css_put
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@google.com> Acked-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
0 files changed, 0 insertions, 0 deletions