RDMA/cxgb4: Don't use null ep ptr
authorSteve Wise <swise@opengridcomputing.com>
Fri, 10 Sep 2010 16:14:48 +0000 (11:14 -0500)
committerRoland Dreier <rolandd@cisco.com>
Tue, 28 Sep 2010 17:46:29 +0000 (10:46 -0700)
In c4iw_modify_qp() error path, only use qhp->ep if ep is not already set.
Otherwise qhp->ep can be NULL and we crash.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found