]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/ocrdma: Check resource ids received in Async CQE
authorNaga Irrinki <Naga.Irrinki@avagotech.com>
Tue, 20 Oct 2015 08:47:58 +0000 (14:17 +0530)
committerDoug Ledford <dledford@redhat.com>
Wed, 21 Oct 2015 21:28:19 +0000 (17:28 -0400)
commit86bebd5dea6d375a238b8717613dcb04d1f7698d
tree05655b6b10d5c22f09a55b47475d612fff164d46
parent5b6f086080d89782edec3a84223a727c0fc98dfc
RDMA/ocrdma: Check resource ids received in Async CQE

Some versions of the FW sends wrong QP or CQ IDs in the
Async CQE. Adding a check to see whether qp or cq structures
associated with the CQE is valid.

Signed-off-by: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Selvin Xavier <selvin.xavier@avagotech.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/ocrdma/ocrdma_hw.c