summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_frontend.c
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2016-08-09 15:12:26 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-09 14:56:21 -0700
commitbb8082f6913889418b69a54e57b4a39d7128a700 (patch)
tree6790b1aa62160bddf693d708b856e3d1edec8ebe /net/ipv4/fib_frontend.c
parent6cdaf03f8c23fcbfe7d4fa6876e114193bb6b632 (diff)
downloadtalos-obmc-linux-bb8082f6913889418b69a54e57b4a39d7128a700.tar.gz
talos-obmc-linux-bb8082f6913889418b69a54e57b4a39d7128a700.zip
ppp: build ifname using unit identifier for rtnl based devices
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@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_frontend.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud