All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] netfilter: Fix memory leak in nf_register_net_hook
       [not found] ` <87si8lh4ph.fsf@x220.int.ebiederm.org>
@ 2015-07-20  7:14   ` Pablo Neira Ayuso
  0 siblings, 0 replies; only message in thread
From: Pablo Neira Ayuso @ 2015-07-20  7:14 UTC (permalink / raw)
  To: Eric W. Biederman; +Cc: Dan Carpenter, kbuild, netfilter-devel

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-20  7:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20150718075610.GD5422@mwanda>
     [not found] ` <87si8lh4ph.fsf@x220.int.ebiederm.org>
2015-07-20  7:14   ` [PATCH] netfilter: Fix memory leak in nf_register_net_hook Pablo Neira Ayuso

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.