diff options
| author | Bernard Metzler <[email protected]> | 2020-03-02 15:58:14 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-03-04 18:26:23 +0000 |
| commit | 12e5eef0f4d8087ea7b559f6630be08ffea2d851 (patch) | |
| tree | bc1d87f903a53c9ecb7234d66f38bb5f7f5940d6 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | RDMA/nldev: Fix crash when set a QP to a new counter but QPN is missing (diff) | |
| download | kernel-12e5eef0f4d8087ea7b559f6630be08ffea2d851.tar.gz kernel-12e5eef0f4d8087ea7b559f6630be08ffea2d851.zip | |
RDMA/siw: Fix failure handling during device creation
A failing call to ib_device_set_netdev() during device creation caused
system crash due to xa_destroy of uninitialized xarray hit by device
deallocation. Fixed by moving xarray initialization before potential
device deallocation.
Fixes: bdcf26bf9b3a ("rdma/siw: network and RDMA core interface")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: [email protected]
Signed-off-by: Bernard Metzler <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
