summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorGeorge McCollister <george.mccollister@gmail.com>2021-03-08 17:38:22 -0600
committerDavid S. Miller <davem@davemloft.net>2021-03-09 16:03:37 -0800
commit286a8624d7f9c6505cd568d947772eb59646514b (patch)
tree626999887f4003c8586396f52eaabe53b98a87ad /tools/perf/builtin-script.c
parentf7d9d4854519fdf4d45c70a4d953438cd88e7e58 (diff)
downloadlinux-286a8624d7f9c6505cd568d947772eb59646514b.tar.bz2
net: dsa: xrs700x: check if partner is same as port in hsr join
Don't assign dp to partner if it's the same port that xrs700x_hsr_join was called with. The partner port is supposed to be the other port in the HSR/PRP redundant pair not the same port. This fixes an issue observed in testing where forwarding between redundant HSR ports on this switch didn't work depending on the order the ports were added to the hsr device. Fixes: bd62e6f5e6a9 ("net: dsa: xrs700x: add HSR offloading support") Signed-off-by: George McCollister <george.mccollister@gmail.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions