]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: silently accept the deletion of VID 0 too
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 22 Jul 2021 13:05:51 +0000 (16:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jul 2021 16:13:02 +0000 (17:13 +0100)
commitd80fd8ea9a75992eafc16daeb97c9ff6d0032154
tree3d4b2912fdc9e7c0a01e042b574a71e9134afbfa
parent889670ed774f73adf572b605cbf9e51a062e7e99
net: dsa: mv88e6xxx: silently accept the deletion of VID 0 too

The blamed commit modified the driver to accept the addition of VID 0
without doing anything, but deleting that VID still fails:

[   32.080780] mv88e6085 d0032004.mdio-mii:10 lan8: failed to kill vid 0081/0

Modify mv88e6xxx_port_vlan_leave() to do the same thing as the addition.

Fixes: 474567a1550e ("net: dsa: mv88e6xxx: Fix adding vlan 0")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c