From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Loganaden Velvindron <logan@hackers.mu>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH] nf-next: x_tables: Replace kmalloc(s*n) with kmalloc_array(n,s)
Date: Fri, 12 Aug 2016 01:13:52 +0200 [thread overview]
Message-ID: <20160811231352.GA4972@salvia> (raw)
In-Reply-To: <20160810141146.GA22890@void>
On Wed, Aug 10, 2016 at 06:11:51PM +0400, Loganaden Velvindron wrote:
> It is easier to check that the calculation doesn't wrap or return a smaller
> allocation.
Could you review the netfilter tree in search for similar kmalloc()
invocation that can be replaced? I could at least find one more at
quick glace.
Thanks.
next prev parent reply other threads:[~2016-08-11 23:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-10 14:11 [PATCH] nf-next: x_tables: Replace kmalloc(s*n) with kmalloc_array(n,s) Loganaden Velvindron
2016-08-11 23:13 ` Pablo Neira Ayuso [this message]
2016-08-12 7:12 ` Loganaden Velvindron
2016-08-12 7:19 ` Loganaden Velvindron
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=20160811231352.GA4972@salvia \
--to=pablo@netfilter.org \
--cc=logan@hackers.mu \
--cc=netfilter-devel@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;
as well as URLs for NNTP newsgroup(s).