mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
When a VLAN is deleted from a port, the flags in struct
switchdev_obj_port_vlan are always 0. ksz8_port_vlan_del() copies the
BRIDGE_VLAN_INFO_UNTAGGED flag to the port's Tag Removal flag, and
therefore always clears it.
In case there are multiple VLANs configured as untagged on this port -
which seems useless, but is allowed - deleting one of them changes the
remaining VLANs to be tagged.
It's only ever necessary to change this flag when a VLAN is added to
the port, so leave it unchanged in ksz8_port_vlan_del().
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
ksz8.h | ||
ksz8795.c | ||
ksz8795_reg.h | ||
ksz8795_spi.c | ||
ksz8863_smi.c | ||
ksz9477.c | ||
ksz9477_i2c.c | ||
ksz9477_reg.h | ||
ksz9477_spi.c | ||
ksz_common.c | ||
ksz_common.h | ||
Makefile |