diff options
author | Bernard Metzler <[email protected]> | 2020-03-02 16:58:14 +0100 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-03-04 14:26:23 -0400 |
commit | 12e5eef0f4d8087ea7b559f6630be08ffea2d851 (patch) | |
tree | bc1d87f903a53c9ecb7234d66f38bb5f7f5940d6 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 78f34a16c28654cb47791257006f90d0948f2f0c (diff) |
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 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions