Re: [PATCH cgroup/for-3.16] cgroup: fix rcu_read_lock() leak in update_if_frozen()

From: Tejun Heo
Date: Tue May 13 2014 - 11:35:35 EST


On Fri, May 09, 2014 at 11:29:41PM -0400, Tejun Heo wrote:
> While updating cgroup_freezer locking, 68fafb77d827 ("cgroup_freezer:
> replace freezer->lock with freezer_mutex") introduced a bug in
> update_if_frozen() where it returns with rcu_read_lock() held. Fix it
> by adding rcu_read_unlock() before returning.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>

Applied to cgroup/for-3.15-fixes.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/