OpenCloudOS-Kernel/drivers/infiniband/sw
Bernard Metzler 12e5eef0f4 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: bdcf26bf9b ("rdma/siw: network and RDMA core interface")
Link: https://lore.kernel.org/r/20200302155814.9896-1-bmt@zurich.ibm.com
Reported-by: syzbot+2e80962bedd9559fe0b3@syzkaller.appspotmail.com
Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-03-04 14:26:23 -04:00
..
rdmavt IB/rdmavt: Reset all QPs when the device is shut down 2020-02-11 11:41:32 -04:00
rxe RDMA/rxe: Fix soft lockup problem due to using tasklets in softirq 2020-02-13 10:51:09 -04:00
siw RDMA/siw: Fix failure handling during device creation 2020-03-04 14:26:23 -04:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00