]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: check hardware VLAN in use
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 12 Feb 2016 17:09:40 +0000 (12:09 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Feb 2016 19:52:46 +0000 (14:52 -0500)
commit77fb3b50ddf68c42ea9a8d80ad7f14714ff00e2a
tree26efe75b0ed49952a7acdd41ab03c33c1aa2b1c7
parent02166859784f2101c38db0079d54fdea1369b188
net: dsa: mv88e6xxx: check hardware VLAN in use

The DSA drivers now have access to the VLAN prepare phase and the bridge
net_device. It is easier to check for overlapping bridges from within
the driver. Thus add such check in mv88e6xxx_port_vlan_prepare.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c