Merge tag 'nfsd-4.19-1' of git://linux-nfs.org/~bfields/linux
[muen/linux.git] / net / sunrpc / xprtrdma / svc_rdma_transport.c
index 2317cf79a1ed70dc17e8dab4886ef6ccad76bb7b..2848cafd4a17744d2fe9a515126611d9a891a189 100644 (file)
@@ -475,7 +475,7 @@ static struct svc_xprt *svc_rdma_accept(struct svc_xprt *xprt)
 
        /* Qualify the transport resource defaults with the
         * capabilities of this particular device */
-       newxprt->sc_max_send_sges = dev->attrs.max_sge;
+       newxprt->sc_max_send_sges = dev->attrs.max_send_sge;
        /* transport hdr, head iovec, one page list entry, tail iovec */
        if (newxprt->sc_max_send_sges < 4) {
                pr_err("svcrdma: too few Send SGEs available (%d)\n",