diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-09-05 12:32:33 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-09-06 12:32:07 -0700 |
commit | 4ddcaf1ebb5e4e99240f29d531ee69d4244fe416 (patch) | |
tree | cbdd6a4afa4c4539445f275cac7e94af2aff1065 /block | |
parent | d7739b0b6d15ef9ad5c79424736b8ded5ed3e913 (diff) |
net: dsa: rtl8366: Properly clear member config
When removing a port from a VLAN we are just erasing the
member config for the VLAN, which is wrong: other ports
can be using it.
Just mask off the port and only zero out the rest of the
member config once ports using of the VLAN are removed
from it.
Reported-by: Florian Fainelli <f.fainelli@gmail.com>
Fixes: d8652956cf37 ("net: dsa: realtek-smi: Add Realtek SMI driver")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions