diff options
| author | Leon Romanovsky <leonro@mellanox.com> | 2020-08-30 11:40:04 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-09-03 10:12:57 -0300 |
| commit | 4b916ed9f9e85f705213ca8d69771d3c1cd6ee5a (patch) | |
| tree | d0fee94d94e23e71ec0ace6eaed90e69249b8b2a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 4f680cb9f1bb6c2b5cd3574533702334709e50ad (diff) | |
| download | linux-4b916ed9f9e85f705213ca8d69771d3c1cd6ee5a.tar.gz linux-4b916ed9f9e85f705213ca8d69771d3c1cd6ee5a.zip | |
RDMA/mlx5: Fix potential race between destroy and CQE poll
The SRQ can be destroyed right before mlx5_cmd_get_srq is called.
In such case the latter will return NULL instead of expected SRQ.
Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters")
Link: https://lore.kernel.org/r/20200830084010.102381-5-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
