[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160809.150624.845634212821004691.davem@davemloft.net>
Date: Tue, 09 Aug 2016 15:06:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: g.nault@...halink.fr
Cc: netdev@...r.kernel.org, paulus@...ba.org, linux-ppp@...r.kernel.org
Subject: Re: [PATCH net-next] ppp: build ifname using unit identifier for
rtnl based devices
From: Guillaume Nault <g.nault@...halink.fr>
Date: Tue, 9 Aug 2016 15:12:26 +0200
> Userspace programs generally need to know the name of the ppp devices
> they create. Both ioctl and rtnl interfaces use the ppp<suffix> sheme
> to name them. But although the suffix used by the ioctl interface can
> be known by userspace (it's the PPP unit identifier returned by the
> PPPIOCGUNIT ioctl), the one used by the rtnl is only known by the
> kernel.
>
> This patch brings more consistency between ioctl and rtnl based ppp
> devices by generating device names using the PPP unit identifer as
> suffix in both cases. This way, userspace can always infer the name of
> the devices they create.
>
> Signed-off-by: Guillaume Nault <g.nault@...halink.fr>
Applied, thanks.
Powered by blists - more mailing lists