]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net: dsa: rtl8366: Skip PVID setting if not requested
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 18 Sep 2020 22:29:54 +0000 (00:29 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 9 Nov 2020 13:48:48 +0000 (14:48 +0100)
commitd5321747b808b6e0458b0401e52a0b7d56b6e497
treea7352a9b20fc3fedd2dd68379263b3510082c516
parent6e6a0d9aa8fbeb861dea880521e15f9f13f50adf
net: dsa: rtl8366: Skip PVID setting if not requested

BugLink: https://bugs.launchpad.net/bugs/1902115
[ Upstream commit 3dfe8dde093a07e82fa472c0f8c29a7f6a2006a5 ]

We go to lengths to determine whether the PVID should be set
for this port or not, and then fail to take it into account.
Fix this oversight.

Fixes: d8652956cf37 ("net: dsa: realtek-smi: Add Realtek SMI driver")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Ian May <ian.may@canonical.com>
drivers/net/dsa/rtl8366.c