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, 11 Mar 2015 10:07:50 -0700
From:	Cong Wang <cwang@...pensource.com>
To:	Vadim Kochan <vadim4j@...il.com>
Cc:	netdev <netdev@...r.kernel.org>
Subject: Re: iproute2: ip netns: Do not delete netns if there any process use it

On Wed, Mar 11, 2015 at 9:50 AM, Vadim Kochan <vadim4j@...il.com> wrote:
>
> Sure kernel does and after net0 file was deleted the devices will be
> still alive within net0 till all processes within net0 will exit or will

This is exactly how reference counting works.

> be killed. And there might be case that after deleting net0 it might be
> hard to find these processes and kill them to bring back devices from
> net0 to the initial netns.

It is your responsibility to track the processes you put into the netns.
--
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