All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>,
	kbuild@01.org, netfilter-devel@vger.kernel.org
Subject: Re: [PATCH] netfilter: Fix memory leak in nf_register_net_hook
Date: Mon, 20 Jul 2015 09:14:38 +0200	[thread overview]
Message-ID: <20150720071438.GA3826@salvia> (raw)
In-Reply-To: <87si8lh4ph.fsf@x220.int.ebiederm.org>

On Sat, Jul 18, 2015 at 10:21:14AM -0500, Eric W. Biederman wrote:
> 
> In the rare case that when it is a attempted to use a per network device
> netfilter hook and the network device does not exist the newly allocated
> structure can leak.
> 
> Be a good citizen and free the newly allocated structure in the error
> handling code.

Applied.

           reply	other threads:[~2015-07-20  7:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <87si8lh4ph.fsf@x220.int.ebiederm.org>]

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=20150720071438.GA3826@salvia \
    --to=pablo@netfilter.org \
    --cc=dan.carpenter@oracle.com \
    --cc=ebiederm@xmission.com \
    --cc=kbuild@01.org \
    --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 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.