RDMA/cxgb4: Use dst parameter in import_ep()
authorSteve Wise <swise@opengridcomputing.com>
Fri, 27 Apr 2012 15:24:33 +0000 (10:24 -0500)
committerRoland Dreier <roland@purestorage.com>
Tue, 8 May 2012 18:17:04 +0000 (11:17 -0700)
commitbd61baaf59669accae2720799394a51fecabe5d9
tree9c6ab2d10e030e7809920d3c6eee11203348cb7c
parentd48b97b403d23f6df0b990cee652bdf9a52337a3
RDMA/cxgb4: Use dst parameter in import_ep()

Function import_ep() is incorrectly using ep->dst instead of the dst
ptr passed in.  This causes a crash when accepting new rdma connections
becase ep->dst is not initialized yet.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c