]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mt7530: Let DSA handle the unsetting of vlan_filtering
authorVladimir Oltean <olteanv@gmail.com>
Sun, 28 Apr 2019 18:45:47 +0000 (21:45 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 03:05:28 +0000 (23:05 -0400)
commit8b09fb02ea85fb7a43cf9d7f6a88418b0c6ea1f2
tree496894544e4d14a56519a5d351d04819d6637308
parent65379847f402c0856d976c5c1bccccc89760e5c3
net: dsa: mt7530: Let DSA handle the unsetting of vlan_filtering

The driver, recognizing that the .port_vlan_filtering callback was never
coming after the port left its parent bridge, decided to take that duty
in its own hands. DSA now takes care of this condition, so fix that.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mt7530.c