diff options
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_transport.c b/net/sunrpc/xprtrdma/svc_rdma_transport.c index 73734173f994..17f036b23a96 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_transport.c +++ b/net/sunrpc/xprtrdma/svc_rdma_transport.c | |||
@@ -1002,7 +1002,7 @@ int svc_rdma_send(struct svcxprt_rdma *xprt, struct ib_send_wr *wr) | |||
1002 | int ret; | 1002 | int ret; |
1003 | 1003 | ||
1004 | if (test_bit(XPT_CLOSE, &xprt->sc_xprt.xpt_flags)) | 1004 | if (test_bit(XPT_CLOSE, &xprt->sc_xprt.xpt_flags)) |
1005 | return 0; | 1005 | return -ENOTCONN; |
1006 | 1006 | ||
1007 | BUG_ON(wr->send_flags != IB_SEND_SIGNALED); | 1007 | BUG_ON(wr->send_flags != IB_SEND_SIGNALED); |
1008 | BUG_ON(((struct svc_rdma_op_ctxt *)(unsigned long)wr->wr_id)->wr_op != | 1008 | BUG_ON(((struct svc_rdma_op_ctxt *)(unsigned long)wr->wr_id)->wr_op != |