summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2020-11-13 19:05:45 +0300
committerJakub Kicinski <kuba@kernel.org>2020-11-15 03:55:03 +0300
commit10502d055b4e64f043e6c52e59297b6870bdd16d (patch)
treeb51c5a296b3c1c454b6d45655f451999f7c27213 /tools/perf/scripts/python/check-perf-trace.py
parent49b1cabffbf930f2ee77e2834fdd61be2037ab79 (diff)
downloadlinux-10502d055b4e64f043e6c52e59297b6870bdd16d.tar.xz
mlxsw: spectrum_router: Compare key with correct object type
When comparing a key with a nexthop group in rhastable's obj_cmpfn() callback, make sure that the key and nexthop group are of the same type (i.e., IPv4 / IPv6). The bug is not currently visible because IPv6 nexthop groups do not populate the FIB info pointer and IPv4 nexthop groups do not set the ifindex for the individual nexthops. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions