On Tue, 20 Sep 2016 02:09:02 -0700
Liping Zhang <zlpnob...@gmail.com> wrote:

> From: Liping Zhang <liping.zh...@spreadtrum.com>
> In ip monitor, netns_map_init will check getnsid is supported or not.
> But when /proc/self/ns/net does not exist, we just print out error
> messages and exit. So user cannot use ip monitor anymore when
> CONFIG_NET_NS is disabled:
>   # ip monitor
>   open("/proc/self/ns/net"): No such file or directory
> If open "/proc/self/ns/net" failed, set have_rtnl_getnsid to false.
> Fixes: d652ccbf8195 ("netns: allow to dump and monitor nsid")
> Signed-off-by: Liping Zhang <liping.zh...@spreadtrum.com>

Makes sense. Applied.

Reply via email to