RDMA/iw_cxgb4: parent_ep has to be dereferenced in case of passive accept failure
authorHariprasad S <hariprasad@chelsio.com>
Fri, 6 May 2016 16:47:57 +0000 (22:17 +0530)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 23:38:05 +0000 (19:38 -0400)
commit8d1f1a6b3fccfce5d95ee0d6456b1437e93f2bba
treed828df154831e1d2fbcd3f71177d45f004e4cf5e
parent92f850ec3a18d9d8bf2157a8509d435d49ce80b6
RDMA/iw_cxgb4: parent_ep has to be dereferenced in case of passive accept failure

-> On passive side of connection parent_ep referenced during connection
request has to be dereferenced during the passive accept failure.
-> As passive accept failure error handlinglogic runs in atomic context,
the parent ep is dereferenced by scheduling work request.

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