Message ID | 037c01d28c74$81f7ee90$85e7cbb0$@opengridcomputing.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
> diff --git a/drivers/infiniband/core/cma.c > b/drivers/infiniband/core/cma.c > index 3e70a9c..c377afc 100644 > --- a/drivers/infiniband/core/cma.c > +++ b/drivers/infiniband/core/cma.c > @@ -3583,6 +3583,9 @@ static int cma_accept_iw(struct rdma_id_private > *id_priv, > struct iw_cm_conn_param iw_param; > int ret; > > + if (!conn_param) > + return -EINVAL; > + > ret = cma_modify_qp_rtr(id_priv, conn_param); > if (ret) > return ret; Can you re-submit as a formal patch? Feel free to include Acked-by: Sean Hefty <sean.hefty@intel.com> This should go into stable. Thanks! And thanks Shaobo! -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Can you re-submit as a formal patch? Feel free to include Acked-by: Sean Hefty > <sean.hefty@intel.com> > > This should go into stable. Thanks! And thanks Shaobo! Will do. Steve. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index 3e70a9c..c377afc 100644 --- a/drivers/infiniband/core/cma.c +++ b/drivers/infiniband/core/cma.c @@ -3583,6 +3583,9 @@ static int cma_accept_iw(struct rdma_id_private *id_priv, struct iw_cm_conn_param iw_param; int ret; + if (!conn_param) + return -EINVAL; + ret = cma_modify_qp_rtr(id_priv, conn_param); if (ret) return ret;