diff options
| author | Shay Drory <shayd@mellanox.com> | 2020-06-21 13:47:36 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-06-24 16:43:44 -0300 |
| commit | b9af0e2d5aeab77bef33bd3df073c3c96b69ec79 (patch) | |
| tree | bcea9450fcd3a3b1e026a0fb3984a87ee27b441c /tools/perf/scripts/python/bin/export-to-sqlite-record | |
| parent | RDMA/ipoib: Return void from ipoib_ib_dev_stop() (diff) | |
| download | linux-b9af0e2d5aeab77bef33bd3df073c3c96b69ec79.tar.gz linux-b9af0e2d5aeab77bef33bd3df073c3c96b69ec79.zip | |
IB/mad: Issue complete whenever decrements agent refcount
Replace calls of atomic_dec() to mad_agent_priv->refcount with calls to
deref_mad_agent() in order to issue complete. Most likely the refcount is
> 1 at these points, but it is difficult to prove. Performance is not
important on these paths, so be obviously correct.
Link: https://lore.kernel.org/r/20200621104738.54850-3-leon@kernel.org
Signed-off-by: Shay Drory <shayd@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-record')
0 files changed, 0 insertions, 0 deletions
