linux/drivers/infiniband
Andrew Boyer a75895b1eb RDMA/i40iw: Avoid panic when objects are being created and destroyed
A panic occurs when there is a newly-registered element on the QP/CQ MR
list waiting to be attached, but a different MR is deregistered. The
current code only checks for whether the list is empty, not whether the
element being deregistered is actually on the list.

Fix the panic by adding a boolean to track if the object is on the list.

Fixes: d374984179 ("i40iw: add files for iwarp interface")
Signed-off-by: Andrew Boyer <andrew.boyer@dell.com>
Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2018-05-09 10:45:18 -04:00
..
core RDMA/cma: Do not query GID during QP state transition to RTR 2018-05-03 15:45:18 -04:00
hw RDMA/i40iw: Avoid panic when objects are being created and destroyed 2018-05-09 10:45:18 -04:00
sw nvmet,rxe: defer ip datagram sending to tasklet 2018-05-09 10:39:51 -04:00
ulp IB: remove redundant INFINIBAND kconfig dependencies 2018-05-09 08:51:03 -04:00
Kconfig IB: make INFINIBAND_ADDR_TRANS configurable 2018-04-27 11:15:44 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00