Skip to content
Snippets Groups Projects
Verified Commit 549113d8 authored by Marek Behun's avatar Marek Behun Committed by Karel Koci
Browse files

patches/openwrt: fix multi-CPU DSA code breaking DSA on MOX


This caused Topaz not working when in combination with Peridot.

Signed-off-by: default avatarMarek Behún <marek.behun@nic.cz>
parent e6cd880a
Branches
Tags
1 merge request!156patches/openwrt: fix multi-CPU DSA code breaking DSA on MOX
......@@ -62,7 +62,7 @@ index 0000000000..1f0fd55727
+ /* Frames from user ports can egress any local DSA links and CPU ports,
+ * as well as any local member of their bridge group.
+ */
++ upstream = dsa_port_upstream_port(ds, port);
++ upstream = dsa_port_upstream_port(chip->ds, port);
+ for (i = 0; i < mv88e6xxx_num_ports(chip); ++i)
+- if (dsa_is_cpu_port(chip->ds, i) ||
++ if ((dsa_is_cpu_port(chip->ds, i) && i == upstream) ||
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment