[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7PsYQLVXse5Yjk6K9V==Yw2WUM=rYGi1KPRf+bwZAwDxQ@mail.gmail.com>
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