]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: set sysfs device_type to 'vlan'
authorDoug Goldstein <cardoe@cardoe.com>
Sun, 21 Oct 2012 19:53:57 +0000 (19:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Nov 2012 03:02:23 +0000 (22:02 -0500)
commit1685f1c5f3b612e10fb0f1bced7fcb26c856f0d2
tree999986dcaa708fee3331d42b3ea3f31f23280596
parent9d5295133d3eaf293c726f9b2f91b4e39091219c
vlan: set sysfs device_type to 'vlan'

Sets the sysfs device_type to 'vlan' for udev. This makes it easier for
applications that query network information via udev to identify vlans
instead of using strrchr().

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_dev.c