]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Print offending port when vlan check fails
authorAndrew Lunn <andrew@lunn.ch>
Thu, 9 Nov 2017 21:29:54 +0000 (22:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2017 10:33:11 +0000 (19:33 +0900)
commitef9ba8131d176c927684c1562f3953145e257882
treef35d538d8ca40fc1e44649531d4c0d7cfcccda8f
parentd725f6fb4586a296a52fc8bc5f28c257c4cfe978
net: dsa: mv88e6xxx: Print offending port when vlan check fails

When testing if a VLAN is one more than one bridge, we print an error
message that the VLAN is already in use somewhere else. Print both the
new port which would like the VLAN, and the port which already has it,
to aid debugging.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c