]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: make vlan_dev_real_dev work over stacked vlans
authornikolay@redhat.com <nikolay@redhat.com>
Sat, 3 Aug 2013 20:07:46 +0000 (22:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Aug 2013 19:17:42 +0000 (12:17 -0700)
commit4a54ef024f859fc9ef33e1b5db3eedcbcb794ec2
treed73398ccd7bae3ad0a60405f71259f77c8eca430
parent85c4e9545dfd26fd4b4c62c91206e9ca91d785cc
vlan: make vlan_dev_real_dev work over stacked vlans

Sometimes we might have stacked vlans on top of each other, and we're
interested in the first non-vlan real device on the path, so transform
vlan_dev_real_dev to go over the stacked vlans and extract the first
non-vlan device.

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_core.c