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] [day] [month] [year] [list]
Message-ID: <20150315152502.GA7894@angus-think.lan>
Date:	Sun, 15 Mar 2015 17:25:02 +0200
From:	Vadim Kochan <vadim4j@...il.com>
To:	Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Cc:	Vadim Kochan <vadim4j@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] man ip-netns: Notice about loose device when do
 'del'

On Sun, Mar 15, 2015 at 06:20:51PM +0300, Sergei Shtylyov wrote:
> Hello.
> 
> On 3/15/2015 1:57 PM, Vadim Kochan wrote:
> 
> >From: Vadim Kochan <vadim4j@...il.com>
> 
>    Noticed a few typos...
> 
> >Signed-off-by: Vadim Kochan <vadim4j@...il.com>
> >---
> >  man/man8/ip-netns.8 | 25 ++++++++++++++++++++++---
> >  1 file changed, 22 insertions(+), 3 deletions(-)
> 
> >diff --git a/man/man8/ip-netns.8 b/man/man8/ip-netns.8
> >index 28a9544..062564d 100644
> >--- a/man/man8/ip-netns.8
> >+++ b/man/man8/ip-netns.8
> >@@ -46,6 +46,9 @@ ip-netns \- process network namespace management
> >  A network namespace is logically another copy of the network stack,
> >  with its own routes, firewall rules, and network devices.
> >
> >+By default process inherites network namespace from its parent. Initially all
> 
>    s/inherites/inherits/.
> 
> >+the processes shares the same default network namespace from the init process.
> 
>    s/shares/share/.
> 
> >+
> >  By convention a named network namespace is an object at
> >  .BR "/var/run/netns/" NAME
> >  that can be opened.  The file descriptor resulting from opening
> >@@ -88,14 +91,30 @@ network namespace and assigns NAME.
> >  .sp
> >  If NAME is present in /var/run/netns it is umounted and the mount
> >  point is removed.  If this is the last user of the network namespace the
> >-network namespace will be freed, otherwise the network namespace
> >-persists until it has no more users.  ip netns delete may fail if
> >-the mount point is in use in another mount namespace.
> >+network namespace will be freed and all physical devices will be moved to the
> >+default one, otherwise the network namespace persists until it has no more
> >+users. ip netns delete may fail if the mount point is in use in another mount
> >+namespace.
> >
> >  If
> >  .B -all
> >  option was specified then all the network namespace names will be removed.
> >
> >+It is possible to "loose" the physical device when it was moved to netns and
> 
>    Not "lose"?
> 
> >+then this netns was deleted with a running process:
> 
> [...]
> 
> WBR, Sergei
> 

Thank You!
--
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