lantiq: fix broadcast packets leaking on the wrong vlan on xrx200
authorFelix Fietkau <nbd@nbd.name>
Wed, 22 Feb 2017 12:31:17 +0000 (13:31 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 23 Feb 2017 11:58:49 +0000 (12:58 +0100)
The ethernet driver uses a port map override via special tag to control
the ports on which multicast packets are sent. This was added to work
around an issue in the switch that was occasionally leaking packets onto
the wrong vlan.
Unfortunately the change had some leftover lines that were overwrting
the port map with a list of all ports, thus always leaking packets onto
the wront vlan.

Fix this by only enabling the override with the VLAN port map and only
if a matching VLAN port map was actually found

Signed-off-by: Felix Fietkau <nbd@nbd.name>

No differences found