linux_dsm_epyc7002/drivers/infiniband/sw/siw
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
..
iwarp.h
Kconfig RDMA/siw: Change CQ flags from 64->32 bits 2019-08-13 12:22:06 -04:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00
siw_cm.c RDMA/siw: Remove unwanted WARN_ON in siw_cm_llp_data_ready() 2020-02-11 14:33:58 -04:00
siw_cm.h rdma/siw: connection management 2019-07-02 17:03:40 -03:00
siw_cq.c RDMA/siw: Simplify QP representation 2020-01-03 15:54:09 -04:00
siw_main.c RDMA/siw: Fix failure handling during device creation 2020-03-04 14:26:23 -04:00
siw_mem.c mm, tree-wide: rename put_user_page*() to unpin_user_page*() 2020-01-31 10:30:38 -08:00
siw_mem.h RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_qp_rx.c RDMA/siw: Simplify QP representation 2020-01-03 15:54:09 -04:00
siw_qp_tx.c RDMA/siw: Simplify QP representation 2020-01-03 15:54:09 -04:00
siw_qp.c RDMA/siw: Simplify QP representation 2020-01-03 15:54:09 -04:00
siw_verbs.c RDMA/siw: Simplify QP representation 2020-01-03 15:54:09 -04:00
siw_verbs.h RDMA/siw: Use the common mmap_xa helpers 2019-11-06 13:08:01 -04:00
siw.h RDMA/siw: Simplify QP representation 2020-01-03 15:54:09 -04:00