dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: dm: Fix possible NULL dereferences
Date: Tue, 2 Nov 2010 12:16:34 -0400	[thread overview]
Message-ID: <20101102161634.GA10649@redhat.com> (raw)
In-Reply-To: <20100920000152.GA1855@rere.qmqm.pl>

On Sun, Sep 19 2010 at  8:01pm -0400,
Michał Mirosław <mirq-linux@rere.qmqm.pl> wrote:

> bio_alloc_bioset() might return NULL. Or maybe passed
> bio_sets are guaranteed to have enough free bios?

The passed bio_set is allocated in dm_alloc_md_mempools() using
bioset_create() -- so it does have allocation guarantees.

Mike

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

      reply	other threads:[~2010-11-02 16:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-20  0:01 [PATCH] dm: Fix possible NULL dereferences Michał Mirosław
2010-11-02 16:16 ` Mike Snitzer [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=20101102161634.GA10649@redhat.com \
    --to=snitzer@redhat.com \
    --cc=dm-devel@redhat.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;
as well as URLs for NNTP newsgroup(s).