]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit668c1f7b70375f94cdc990bcc4878d1e55bc146f
tree29783694ba5000918832e48f3981c7894bc96008
parent5ac5eb887497b0deec9009d7201b7eda487485ad
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