diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2022-01-06 15:59:05 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-01-06 19:49:10 -0800 |
commit | d1a9b84183e818c6c3540a454d6ad278b56718b2 (patch) | |
tree | 07af22bc66b8fe9d2d3f27cf233eb1e02a609f73 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4e30e98c4b4c8c3bd2ff048e4f4bc74c8948a9fb (diff) |
dpaa2-switch: check if the port priv is valid
Before accessing the port private structure make sure that there is
still a non-NULL pointer there. A NULL pointer access can happen when we
are on the remove path, some switch ports are unregistered and some are
in the process of unregistering.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions