OSDN Git Service

net: dsa: ksz: Add STP multicast handling
authorMarek Vasut <marex@denx.de>
Sat, 15 Dec 2018 00:58:06 +0000 (01:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Dec 2018 22:23:33 +0000 (14:23 -0800)
commit8a75b9d4c9d32c88b487bd98bf8019f029215165
tree494b5d79b5760377b1648769e98a716c62939d0b
parentbafe9ba7d908f6240b3ca898b167072c55502609
net: dsa: ksz: Add STP multicast handling

In case the destination address is link local, add override bit into the
switch tag to let such a packet through the switch even if the port is
blocked.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tristram Ha <Tristram.Ha@microchip.com>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Cc: Woojung Huh <woojung.huh@microchip.com>
Cc: David S. Miller <davem@davemloft.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_ksz.c