summaryrefslogtreecommitdiffstats
path: root/net/dsa
diff options
context:
space:
mode:
authorEgil Hjelmeland <privat@egil-hjelmeland.no>2017-10-31 15:48:01 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-01 21:30:24 +0900
commite9292f2c03851ef81bef38579a0ee9c42140e586 (patch)
tree23ebfdefb4144e8968845cda1726a2d971e7f530 /net/dsa
parent909fb9ae322154648d7354bcf7cdd0f705fb67f1 (diff)
downloadlinux-stable-e9292f2c03851ef81bef38579a0ee9c42140e586.tar.gz
linux-stable-e9292f2c03851ef81bef38579a0ee9c42140e586.tar.bz2
linux-stable-e9292f2c03851ef81bef38579a0ee9c42140e586.zip
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>
Diffstat (limited to 'net/dsa')
-rw-r--r--net/dsa/tag_lan9303.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/dsa/tag_lan9303.c b/net/dsa/tag_lan9303.c
index 537ca991fafe..18f45cd9f625 100644
--- a/net/dsa/tag_lan9303.c
+++ b/net/dsa/tag_lan9303.c
@@ -42,7 +42,6 @@
#define LAN9303_TAG_LEN 4
# define LAN9303_TAG_TX_USE_ALR BIT(3)
# define LAN9303_TAG_TX_STP_OVERRIDE BIT(4)
-#define eth_stp_addr eth_reserved_addr_base
/* Decide whether to transmit using ALR lookup, or transmit directly to
* port using tag. ALR learning is performed only when using ALR lookup.