mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
The qca8k switch doesn't support using 0 as VID and require a default
VID to be always set. MDB add/del function doesn't currently handle
this and are currently setting the default VID.
Fix this by correctly handling this corner case and internally use the
default VID for VID 0 case.
Fixes: ba8f870dfa ("net: dsa: qca8k: add support for mdb_add/del")
Signed-off-by: Christian Marangi <[email protected]>
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>