diff options
author | Selvin Xavier | 2023-08-09 21:44:35 -0700 |
---|---|---|
committer | Jason Gunthorpe | 2023-08-10 16:35:54 -0300 |
commit | 5363fc488da579923edf6a2fdca3d3b651dd800b (patch) | |
tree | 3becd778ec5b48fe6841b246d26a49a6e3940342 /drivers/accel | |
parent | 8e7b295da1ed051baedd068b7f785f5d959ef95d (diff) |
RDMA/bnxt_re: Properly order ib_device_unalloc() to avoid UAF
ib_dealloc_device() should be called only after device cleanup. Fix the
dealloc sequence.
Fixes: 6d758147c7b8 ("RDMA/bnxt_re: Use auxiliary driver interface")
Link: https://lore.kernel.org/r/1691642677-21369-2-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/accel')
0 files changed, 0 insertions, 0 deletions