]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mt7530: drop untagged frames on VLAN-aware ports without PVID
authorDENG Qingfang <dqfext@gmail.com>
Fri, 6 Aug 2021 03:47:11 +0000 (11:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Aug 2021 11:07:39 +0000 (12:07 +0100)
commit0fab5002b1348e17a9ab4c1b09916f7954fa36d9
tree9d2f1c0eaba3d28fb6ee3d98d1fe74ebdea8e53e
parentcc99864ad41b75842dcf244a917f829517308b45
net: dsa: mt7530: drop untagged frames on VLAN-aware ports without PVID

The driver currently still accepts untagged frames on VLAN-aware ports
without PVID. Use PVC.ACC_FRM to drop untagged frames in that case.

Signed-off-by: DENG Qingfang <dqfext@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mt7530.c
drivers/net/dsa/mt7530.h