public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Vadim Kochan <vadim4j@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH iproute2] ip netns: Identify netns for the current process
Date: Sat, 29 Nov 2014 11:18:51 -0800	[thread overview]
Message-ID: <20141129111851.6945913b@urahara> (raw)
In-Reply-To: <1415377530-25568-1-git-send-email-vadim4j@gmail.com>

On Fri,  7 Nov 2014 18:25:30 +0200
Vadim Kochan <vadim4j@gmail.com> wrote:

> As 'ip' util will share the same netns from the caller
> process then we can just look at /proc/self/.. to show
> the netns of the current process by:
> 
>     ip netns id
> 
> Signed-off-by: Vadim Kochan <vadim4j@gmail.com>

Useful, applied.

      reply	other threads:[~2014-11-29 19:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-07 16:25 [PATCH iproute2] ip netns: Identify netns for the current process Vadim Kochan
2014-11-29 19:18 ` Stephen Hemminger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141129111851.6945913b@urahara \
    --to=stephen@networkplumber.org \
    --cc=netdev@vger.kernel.org \
    --cc=vadim4j@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox