iw_cxgb4: put ep reference in pass_accept_req()
authorSteve Wise <swise@opengridcomputing.com>
Wed, 13 Sep 2017 16:52:32 +0000 (09:52 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 22 Sep 2017 16:59:42 +0000 (12:59 -0400)
commit3d318605f5e32ff44fb290d9b67573b34213c4c8
treee5dcba9552165a3d206cf2d837eaa3f01300651b
parente6f9bc34d3779cb7b6a337afed5de8be3f0fab77
iw_cxgb4: put ep reference in pass_accept_req()

The listening endpoint should always be dereferenced at the end of
pass_accept_req().

Fixes: f86fac79afec ("RDMA/iw_cxgb4: atomic find and reference for listening endpoints")

Cc: stable@vger.kernel.org
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/cm.c