[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150502020534.GA9633@gondor.apana.org.au>
Date: Sat, 2 May 2015 10:05:34 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Andrey Wagin <avagin@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: Netlink socket leaks
On Sat, May 02, 2015 at 02:31:09AM +0300, Andrey Wagin wrote:
>
> A socket leaks if it is released by sk_release_kernel(). The problem
> is that netlink_insert() and netlink_remove() is called when a socket
> has different values of sk->sk_net.
Thanks for catching this! Let me look into this to see if we
can still safely dereference the namespace at this point.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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