mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Li Zefan <lizefan@huawei.com>
Cc: kbuild test robot <fengguang.wu@intel.com>,
	cgroups@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH cgroup/for-3.16] cgroup: fix rcu_read_lock() leak in update_if_frozen()
Date: Tue, 13 May 2014 11:34:45 -0400	[thread overview]
Message-ID: <20140513153445.GG23710@htj.dyndns.org> (raw)
In-Reply-To: <20140510032941.GE22539@mtj.dyndns.org>

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@kernel.org>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>

Applied to cgroup/for-3.15-fixes.

Thanks.

-- 
tejun

      reply	other threads:[~2014-05-13 15:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5369104d.Nn5Lpp7nwOehwnnC%fengguang.wu@intel.com>
2014-05-10  3:29 ` Tejun Heo
2014-05-13 15:34   ` Tejun Heo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140513153445.GG23710@htj.dyndns.org \
    --to=tj@kernel.org \
    --cc=cgroups@vger.kernel.org \
    --cc=fengguang.wu@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®