]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
svcrdma: Another sendto chunk list parsing update
authorChuck Lever <chuck.lever@oracle.com>
Tue, 7 Feb 2017 16:58:15 +0000 (11:58 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 8 Feb 2017 19:41:24 +0000 (14:41 -0500)
commitcbaf58032efca401834518b905f528ac912449e4
treeb1d3b67f20557bc45115931fff8df5aad433f799
parentb880092109323d1cc608c420fa712d3e19508e13
svcrdma: Another sendto chunk list parsing update

Commit 5fdca6531434 ("svcrdma: Renovate sendto chunk list parsing")
missed a spot. svc_rdma_xdr_get_reply_hdr_len() also assumes the
Write list has only one Write chunk. There's no harm in making this
code more general.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/rpc_rdma.h
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma_marshal.c
net/sunrpc/xprtrdma/svc_rdma_sendto.c