From: James Morris <jmorris@namei.org>
To: Amit Choudhary <amit2030@gmail.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
akpm@osdl.org, netdev@vger.kernel.org
Subject: Re: [PATCH 2.6.19-rc2] [REVISED] net/ipv4/multipath_wrandom.c: check kmalloc() return value.
Date: Mon, 23 Oct 2006 03:46:28 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0610230341080.16474@d.namei> (raw)
In-Reply-To: <20061022235958.b31d7529.amit2030@gmail.com>
On Sun, 22 Oct 2006, Amit Choudhary wrote:
> Description: Check the return value of kmalloc() in function wrandom_set_nhinfo(), in file net/ipv4/multipath_wrandom.c.
>
> Signed-off-by: Amit Choudhary <amit2030@gmail.com>
Acked-by: James Morris <jmorris@namei.org>
> @@ -242,6 +242,9 @@ static void wrandom_set_nhinfo(__be32 ne
> target_route = (struct multipath_route *)
> kmalloc(size_rt, GFP_ATOMIC);
It'd be nice to see these casts removed in a future cleanup.
- James
--
James Morris
<jmorris@namei.org>
next prev parent reply other threads:[~2006-10-23 7:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-23 6:59 Amit Choudhary
2006-10-23 7:46 ` James Morris [this message]
2006-10-23 11:17 ` Patrick McHardy
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=Pine.LNX.4.64.0610230341080.16474@d.namei \
--to=jmorris@namei.org \
--cc=akpm@osdl.org \
--cc=amit2030@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@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 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®