[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170601.115008.959194105881624590.davem@davemloft.net>
Date: Thu, 01 Jun 2017 11:50:08 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: nicolas.dichtel@...nd.com
Cc: netdev@...r.kernel.org, fbl@...close.org
Subject: Re: [PATCH net] netlink: don't send unknown nsid
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Date: Thu, 1 Jun 2017 10:00:07 +0200
> The NETLINK_F_LISTEN_ALL_NSID otion enables to listen all netns that have a
> nsid assigned into the netns where the netlink socket is opened.
> The nsid is sent as metadata to userland, but the existence of this nsid is
> checked only for netns that are different from the socket netns. Thus, if
> no nsid is assigned to the socket netns, NETNSA_NSID_NOT_ASSIGNED is
> reported to the userland. This value is confusing and useless.
> After this patch, only valid nsid are sent to userland.
>
> Reported-by: Flavio Leitner <fbl@...close.org>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Applied, thank you.
Powered by blists - more mailing lists