diff options
author | Christian Marangi <[email protected]> | 2023-07-24 05:25:31 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-07-26 08:50:10 +0100 |
commit | dfd739f182b00b02bd7470ed94d112684cc04fa2 (patch) | |
tree | 8490a91d39fca318521e34491d3d703e1f457790 /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | ae70dcb9d9ecaf7d9836d3e1b5bef654d7ef5680 (diff) |
net: dsa: qca8k: fix mdb add/del case with 0 VID
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: ba8f870dfa63 ("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]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions