On Wed, Feb 09, 2022 at 11:30:43PM +0200, Vladimir Oltean wrote:
quoted hunk ↗ jump to hunk
- It is possible to artificially fill the VLAN table of a switch, by
walking through the entire VLAN space, adding and deleting them.
For each VLAN added on a user port, DSA will add it on shared ports
too, but for each VLAN deletion on a user port, it will remain
installed on shared ports, since DSA has no good indication of whether
the VLAN is still in use or not. If the hardware has a limited number
of VLAN table entries, this may uselessly consume that space.
There's another, more important angle to this which I forgot while I was
writing the commit message. If you don't have a way to delete VLANs on
CPU ports, you have no way of removing yourself from a VLAN with noisy
stations, once you've entered it. I'll make sure to update the commit
message for v2.