l2tp: set name_assign_type for devices created by l2tp_eth.c
authorGuillaume Nault <g.nault@alphalink.fr>
Mon, 24 Apr 2017 12:16:06 +0000 (14:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Apr 2017 15:41:56 +0000 (11:41 -0400)
commitc39855febc0e7332db389fd4017ab163589b1b20
tree1c6102b6036e6b416f06203c6d404babd8bdaebb
parente0ee84ded79623ac063a4e817367d61ab7650b6c
l2tp: set name_assign_type for devices created by l2tp_eth.c

Export naming scheme used when creating l2tpeth interfaces
(/sys/class/net/<iface>/name_assign_type). This let userspace know if
the device's name has been generated automatically or defined manually.

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Acked-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_eth.c