Patch #1 lets userspace retrieve the naming scheme of an l2tpeth interface, using /sys/class/net/<iface>/name_assign_type.
Patch #2 adds the DEVTYPE field in /sys/class/net/<iface>/uevent so that userspace can reliably know if a device is an l2tpeth interface. Guillaume Nault (2): l2tp: set name_assign_type for devices created by l2tp_eth.c l2tp: define "l2tpeth" device type net/l2tp/l2tp_eth.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) -- 2.11.0