All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: Dave Jones <davej@redhat.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	axboe@fb.com
Subject: Re: block: free q->flush_rq in blk_init_allocated_queue error paths.
Date: Wed, 19 Mar 2014 15:22:44 -0400	[thread overview]
Message-ID: <20140319192244.GA17654@redhat.com> (raw)
In-Reply-To: <20140319191221.GA10034@redhat.com>

On Wed, Mar 19 2014 at  3:12pm -0400,
Dave Jones <davej@redhat.com> wrote:

> Commit 7982e90c3a ("block: fix q->flush_rq NULL pointer crash on dm-mpath flush")
> moved an allocation to blk_init_allocated_queue(), but neglected to free
> that allocation on the error paths that follow.
> 
> Signed-off-by: Dave Jones <davej@fedoraproject.org>

Ngh.. thanks Dave!

/me hangs his head in shame...

Acked-by: Mike Snitzer <snitzer@redhat.com>

Jens, really sorry about this oversight.  I can take it on the chin and
pick this up for Linus to take this week from linux-dm.git.  Your call.

  reply	other threads:[~2014-03-19 19:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20140318010053.D08A2660CC5@gitolite.kernel.org>
2014-03-19 19:12 ` block: free q->flush_rq in blk_init_allocated_queue error paths Dave Jones
2014-03-19 19:22   ` Mike Snitzer [this message]
2014-03-20 14:34     ` Jens Axboe

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=20140319192244.GA17654@redhat.com \
    --to=snitzer@redhat.com \
    --cc=axboe@fb.com \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.