RDMA/iw_cxgb4: Handle return value of c4iw_ofld_send() in abort_arp_failure()
authorHariprasad S <hariprasad@chelsio.com>
Fri, 6 May 2016 16:48:02 +0000 (22:18 +0530)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 23:38:07 +0000 (19:38 -0400)
commit761e19a504afa55ec0ede0ed490cddb99b2596a5
tree29783694ba5000918832e48f3981c7894bc96008
parent8a70f812b16ea4523938749a168817ffed232df9
RDMA/iw_cxgb4: Handle return value of c4iw_ofld_send() in abort_arp_failure()

In abort_arp_failure(), the return value from c4iw_ofld_send() is
ignored and thus if the CPL isn't sent, the endpoint is stuck and never
gets aborted. Failure of c4iw_ofld_send() is treated as fatal error, and
the ep resources are released in a safer context through process_work().

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/cm.c