]> asedeno.scripts.mit.edu Git - linux.git/commit
net: dsa: lan9303: Add STP ALR entry on port 0
authorEgil Hjelmeland <privat@egil-hjelmeland.no>
Tue, 31 Oct 2017 14:48:01 +0000 (15:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 12:30:24 +0000 (21:30 +0900)
commite9292f2c03851ef81bef38579a0ee9c42140e586
tree23ebfdefb4144e8968845cda1726a2d971e7f530
parent909fb9ae322154648d7354bcf7cdd0f705fb67f1
net: dsa: lan9303: Add STP ALR entry on port 0

STP BPDUs arriving on user ports must sent to CPU port only,
for processing by the SW bridge.

Add an ALR entry with STP state override to fix that.

Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lan9303-core.c
include/linux/dsa/lan9303.h
net/dsa/tag_lan9303.c