]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/siw: Remove NETDEV_GOING_DOWN event handler
authorShowrya M N <showrya@chelsio.com>
Wed, 24 Jul 2024 08:54:28 +0000 (14:24 +0530)
committerLeon Romanovsky <leon@kernel.org>
Mon, 29 Jul 2024 08:43:47 +0000 (11:43 +0300)
commit60dc7fcafea817f3dcff7ece18095ca6260b73bc
treef642f011f03a044f7230144d32adb75bd9ec7f0e
parent75ab1533d79b046152d424ffe947f79f9d15682c
RDMA/siw: Remove NETDEV_GOING_DOWN event handler

Toggling link while running NVME-oF over siw hits a kernel panic
due to race condition within siw_handler and ib_destroy_qp().
The IB_EVENT_PORT_ERR event can alone handle destroying qps.
therefore remove unwanted processing in siw.

Suggested-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Showrya M N <showrya@chelsio.com>
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Link: https://lore.kernel.org/r/20240724085428.3813-1-showrya@chelsio.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/sw/siw/siw.h
drivers/infiniband/sw/siw/siw_main.c