[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <69ebf5fa-aa1c-762f-308b-8c009b13cef4@6wind.com>
Date: Tue, 20 Sep 2016 13:53:56 +0200
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: Liping Zhang <zlpnobody@...il.com>, stephen@...workplumber.org
Cc: netdev@...r.kernel.org, Liping Zhang <liping.zhang@...eadtrum.com>
Subject: Re: [PATCH iproute2] ipmonitor: fix ip monitor can't work when NET_NS
is not enabled
Le 20/09/2016 à 11:09, Liping Zhang a écrit :
> From: Liping Zhang <liping.zhang@...eadtrum.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.zhang@...eadtrum.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Powered by blists - more mailing lists