diff options
author | 2016-10-27 16:36:46 +0300 | |
---|---|---|
committer | 2016-11-16 20:03:44 -0500 | |
commit | a1ab8402d15d2305d2315d96ec3294bfdf16587e (patch) | |
tree | de32b4419cf2121d2a3d66d6667ef37f65d54d95 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/mlx5: Fix fatal error dispatching (diff) | |
download | wireguard-linux-a1ab8402d15d2305d2315d96ec3294bfdf16587e.tar.xz wireguard-linux-a1ab8402d15d2305d2315d96ec3294bfdf16587e.zip |
IB/mlx5: Fix NULL pointer dereference on debug print
For XRC QP CQs may not exist. Check before attempting dereference.
Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions