[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1b83c01b-8fe3-8e9b-cae7-4064527c1c21@6wind.com>
Date: Wed, 31 May 2017 10:38:21 +0200
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: Flavio Leitner <fbl@...close.org>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] netlink: include netnsid only when netns
differs.
Le 30/05/2017 à 23:33, Flavio Leitner a écrit :
> Don't include netns id for notifications broadcasts when the
> socket and the skb are in the same netns because it will be
> an error which can't be distinguished from a peer netns failing
> to allocate an id.
I don't understand the problem. peernet2id() doesn't allocate ids, it only do a
lookup. If you need an id for the current netns, you have to allocate one.
This patch changes the metadata exported to the userland and will break existing
tools.
Powered by blists - more mailing lists