lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 30 Jan 2008 19:31:28 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	xemul@...nvz.org
Cc:	den@...nvz.org, netdev@...r.kernel.org, devel@...nvz.org,
	adobriyan@...nvz.org
Subject: Re: [PATCH net-2.6.25][NETNS]: Fix race between put_net() and
 netlink_kernel_create().

From: Pavel Emelyanov <xemul@...nvz.org>
Date: Thu, 24 Jan 2008 16:15:13 +0300

> The comment about "race free view of the set of network 
> namespaces" was a bit hasty. Look (there even can be only 
> one CPU, as discovered by Alexey Dobriyan and Denis Lunev):
 ...
> Instead, I propose to crate the socket inside an init_net
> namespace and then re-attach it to the desired one right
> after the socket is created.
> 
> After doing this, we also have to be careful on error paths
> not to drop the reference on the namespace, we didn't get
> the one on.
> 
> Signed-off-by: Pavel Emelyanov <xemul@...nvz.org>
> Acked-by: Denis Lunev <den@...nvz.org>

Applied, thanks.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ