rocker, dsa, ethsw: Don't filter VLAN events on bridge itself
authorPetr Machata <petrm@mellanox.com>
Thu, 22 Nov 2018 23:48:05 +0000 (23:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Nov 2018 02:02:24 +0000 (18:02 -0800)
commitab4a16869f25648570976a4d55923d0c9e7effb8
treecb89dc52126ff9665c92f32cd61613316c607093
parentd17d9f5e5143125f9274194d8f7368f76b9d141f
rocker, dsa, ethsw: Don't filter VLAN events on bridge itself

Due to an explicit check in rocker_world_port_obj_vlan_add(),
dsa_slave_switchdev_event() resp. port_switchdev_event(), VLAN objects
that are added to a device that is not a front-panel port device are
ignored. Therefore this check is immaterial.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker_main.c
drivers/staging/fsl-dpaa2/ethsw/ethsw.c
net/dsa/port.c