diff options
author | 2020-03-10 11:25:36 +0200 | |
---|---|---|
committer | 2020-03-17 17:05:52 -0300 | |
commit | 153a2e432e3d323b633155633429dcaf71ea7c53 (patch) | |
tree | 45d0dbaff3822de61c76f741482c64ae88395a2e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/cm: Simplify establishing a listen cm_id (diff) | |
download | wireguard-linux-153a2e432e3d323b633155633429dcaf71ea7c53.tar.xz wireguard-linux-153a2e432e3d323b633155633429dcaf71ea7c53.zip |
RDMA/cm: Read id.state under lock when doing pr_debug()
The lock should not be dropped before doing the pr_debug() print as it is
accessing data protected by the lock, such as id.state.
Fixes: 119bf81793ea ("IB/cm: Add debug prints to ib_cm")
Link: https://lore.kernel.org/r/20200310092545.251365-7-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions