dsa: port: Ignore bridge VLAN events
authorPetr Machata <petrm@mellanox.com>
Wed, 30 May 2018 00:59:26 +0000 (02:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 May 2018 18:13:43 +0000 (14:13 -0400)
commitda0efa8888ee268ff7db74389a5e4fc32ade457a
treec2aebebfc14c9a48642bde7a7b57ad216c5a6eb0
parent2855118fdafa753d284b80abd7835a530b5a6fcc
dsa: port: Ignore bridge VLAN events

A follow-up patch enables emitting VLAN notifications for the bridge CPU
port in addition to the existing slave port notifications. These
notifications have orig_dev set to the bridge in question.

Because there's no specific support for these VLANs, just ignore the
notifications to maintain the current behavior.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/port.c