diff options
| author | Leon Romanovsky <leonro@nvidia.com> | 2021-07-23 14:39:46 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-08-03 13:44:26 -0300 |
| commit | b0791dbf1214a9e539fa8507b4b7e50f5367b79a (patch) | |
| tree | e001bb160a12f2cc54358066961eddd3a912db41 /lib/debugobjects.c | |
| parent | f9193d266347fe9bed5c173e7a1bf96268142a79 (diff) | |
RDMA/mlx5: Cancel pkey work before destroying device resources
In the driver release flow, we are ensuring that notifier is disabled and
no new works can be added to pkey_change_handler. It means that we can
cancel that handler before destroying resources to make sure that our
unwind routine is symmetrical to the allocation one.
Link: https://lore.kernel.org/r/f2b1ea1bad952e4e7a48a6f731de9e0344986b29.1627040189.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
