|
@@ -1036,6 +1036,8 @@ int svc_rdma_send(struct svcxprt_rdma *xprt, struct ib_send_wr *wr)
|
|
wait_event(xprt->sc_send_wait,
|
|
wait_event(xprt->sc_send_wait,
|
|
atomic_read(&xprt->sc_sq_count) <
|
|
atomic_read(&xprt->sc_sq_count) <
|
|
xprt->sc_sq_depth);
|
|
xprt->sc_sq_depth);
|
|
|
|
+ if (test_bit(XPT_CLOSE, &xprt->sc_xprt.xpt_flags))
|
|
|
|
+ return 0;
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
/* Bumped used SQ WR count and post */
|
|
/* Bumped used SQ WR count and post */
|