diff options
author | 2022-01-06 15:59:05 +0200 | |
---|---|---|
committer | 2022-01-06 19:49:10 -0800 | |
commit | d1a9b84183e818c6c3540a454d6ad278b56718b2 (patch) | |
tree | 07af22bc66b8fe9d2d3f27cf233eb1e02a609f73 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dpaa2-mac: return -EPROBE_DEFER from dpaa2_mac_open in case the fwnode is not set (diff) | |
download | wireguard-linux-d1a9b84183e818c6c3540a454d6ad278b56718b2.tar.xz wireguard-linux-d1a9b84183e818c6c3540a454d6ad278b56718b2.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions