|
@@ -1002,7 +1002,7 @@ int svc_rdma_send(struct svcxprt_rdma *xprt, struct ib_send_wr *wr)
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
if (test_bit(XPT_CLOSE, &xprt->sc_xprt.xpt_flags))
|
|
if (test_bit(XPT_CLOSE, &xprt->sc_xprt.xpt_flags))
|
|
- return 0;
|
|
|
|
|
|
+ return -ENOTCONN;
|
|
|
|
|
|
BUG_ON(wr->send_flags != IB_SEND_SIGNALED);
|
|
BUG_ON(wr->send_flags != IB_SEND_SIGNALED);
|
|
BUG_ON(((struct svc_rdma_op_ctxt *)(unsigned long)wr->wr_id)->wr_op !=
|
|
BUG_ON(((struct svc_rdma_op_ctxt *)(unsigned long)wr->wr_id)->wr_op !=
|