[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20071015.013924.48816492.davem@davemloft.net>
Date: Mon, 15 Oct 2007 01:39:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ebiederm@...ssion.com
Cc: jesper.juhl@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, alan@...hat.com, kuznet@....inr.ac.ru
Subject: Re: Don't leak 'listeners' in netlink_kernel_create()
From: ebiederm@...ssion.com (Eric W. Biederman)
Date: Sun, 14 Oct 2007 16:30:06 -0600
> Jesper Juhl <jesper.juhl@...il.com> writes:
>
> > From: Jesper Juhl <jesper.juhl@...il.com>
> > Subject: Don't leak 'listeners' in netlink_kernel_create()
> >
> > The Coverity checker spotted that we'll leak the storage allocated
> > to 'listeners' in netlink_kernel_create() when the
> > if (!nl_table[unit].registered)
> > check is false.
> >
> > This patch avoids the leak.
> >
> >
> > Signed-off-by: Jesper Juhl <jesper.juhl@...il.com>
>
> This patch appears trivially correct to me.
> Acked-by: "Eric W. Biederman" <ebiederm@...ssion.com>
Applied, thanks everyone.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists