2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/drivers/infiniband/sw/rxe
Andrew Boyer 37f69f43fb IB/rxe: Hold refs when running tasklets
It might be possible for all of a QP's references to be dropped
while one of that QP's tasklets is running.

For example, the completer might run during QP destroy.
If qp->valid is false, it will drop all of the packets on
the resp_pkts list, potentially removing the last reference.
Then it tries to advance the SQ consumer pointer. If the
SQ's buffer has already been destroyed, the system will
panic.

To be safe, hold a reference on the QP for the duration
of each tasklet.

Signed-off-by: Andrew Boyer <andrew.boyer@dell.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-12-12 16:34:22 -05:00
..
Kconfig
Makefile
rxe_av.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_comp.c IB/rxe: Hold refs when running tasklets 2016-12-12 16:34:22 -05:00
rxe_cq.c
rxe_dma.c IB/{rxe,core,rdmavt}: Fix kernel crash for reg MR 2016-10-06 13:50:04 -04:00
rxe_hdr.h
rxe_icrc.c
rxe_loc.h IB/rxe: Unblock loopback by moving skb_out increment 2016-12-12 16:31:45 -05:00
rxe_mcast.c
rxe_mmap.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_mr.c IB/rxe: Add support for zero-byte operations 2016-12-12 16:31:45 -05:00
rxe_net.c IB/rxe: Unblock loopback by moving skb_out increment 2016-12-12 16:31:45 -05:00
rxe_net.h IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_opcode.c
rxe_opcode.h
rxe_param.h
rxe_pool.c
rxe_pool.h
rxe_qp.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_queue.c
rxe_queue.h
rxe_recv.c IB/rxe: Remove buffer used for printing IP address 2016-12-12 16:31:45 -05:00
rxe_req.c IB/rxe: Hold refs when running tasklets 2016-12-12 16:34:22 -05:00
rxe_resp.c IB/rxe: Hold refs when running tasklets 2016-12-12 16:34:22 -05:00
rxe_srq.c IB/rxe: Remove unneeded cast in rxe_srq_from_attr() 2016-12-12 16:31:45 -05:00
rxe_sysfs.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_task.c IB/rxe: Wait for tasklets to finish before tearing down QP 2016-12-12 16:31:45 -05:00
rxe_task.h IB/rxe: Wait for tasklets to finish before tearing down QP 2016-12-12 16:31:45 -05:00
rxe_verbs.c IB/rxe: Fix ref leak in rxe_create_qp() 2016-12-12 16:31:45 -05:00
rxe_verbs.h
rxe.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe.h IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00