diff options
| author | Martin Blumenstingl <[email protected]> | 2022-05-19 00:00:50 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-05-19 18:40:45 -0700 |
| commit | 7b4149bdee6a6363cb4eca3599296d41a7b3700d (patch) | |
| tree | 504e1d12f9540d0d8f92af5cd3dd8dcab0157163 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 86afd5a0e78eb9b84b158b33d85f711c5f748fd1 (diff) | |
net: dsa: lantiq_gswip: Fix start index in gswip_port_fdb()
The first N entries in priv->vlans are reserved for managing ports which
are not part of a bridge. Use priv->hw_info->max_ports to consistently
access per-bridge entries at index 7. Starting at
priv->hw_info->cpu_port (6) is harmless in this case because
priv->vlan[6].bridge is always NULL so the comparison result is always
false (which results in this entry being skipped).
Acked-by: Hauke Mehrtens <[email protected]>
Signed-off-by: Martin Blumenstingl <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions