diff options
author | Linus Walleij <[email protected]> | 2021-09-26 00:59:28 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-09-27 16:33:46 +0100 |
commit | d8251b9db34a2cbc5619b610e7e8aad1d165c531 (patch) | |
tree | 272e953fcfb1d7d7c97399c5ad5bf0eeddf7854a /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 5f5f12f5d4b108399130bb5c11f07765851d9cdb (diff) |
net: dsa: rtl8366: Fix a bug in deleting VLANs
We were checking that the MC (member config) was != 0
for some reason, all we need to check is that the config
has no ports, i.e. no members. Then it can be recycled.
This must be some misunderstanding.
Fixes: 4ddcaf1ebb5e ("net: dsa: rtl8366: Properly clear member config")
Cc: Mauri Sandberg <[email protected]>
Cc: DENG Qingfang <[email protected]>
Reviewed-by: Alvin Šipraga <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions