[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150504.001336.1763965924175585221.davem@davemloft.net>
Date: Mon, 04 May 2015 00:13:36 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: avagin@...il.com, netdev@...r.kernel.org, ying.xue@...driver.com
Subject: Re: Netlink socket leaks
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Sun, 3 May 2015 08:04:28 +0800
> ---8<---
> Subject: Revert "net: kernel socket should be released in init_net namespace"
>
> This reverts commit c243d7e20996254f89c28d4838b5feca735c030d.
>
> That patch is solving a non-existant problem while creating a
> real problem. Just because a socket is allocated in the init
> name space doesn't mean that it gets hashed in the init name space.
>
> When we unhash it the name space must be the same as the one
> we had when we hashed it. So this patch is completely bogus
> and causes socket leaks.
>
> Reported-by: Andrey Wagin <avagin@...il.com>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied, thanks Herbert.
--
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