diff options
| author | Mark Brown <broonie@kernel.org> | 2026-07-27 12:43:27 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-27 12:43:27 +0100 |
| commit | 4ed93940cf14f44abd909d23cb549f4f35c879b6 (patch) | |
| tree | 9cd96b1608dddc682d995e82f2ee25b893acd002 /include/linux/sunrpc/svc_rdma_pcl.h | |
| parent | a53373c3826a221483d8b1c0bfc8ccec5220daa4 (diff) | |
| parent | ac8aba075d20869c19e7fa4efbae242d16b2ad63 (diff) | |
| download | linux-next-4ed93940cf14f44abd909d23cb549f4f35c879b6.tar.gz linux-next-4ed93940cf14f44abd909d23cb549f4f35c879b6.zip | |
Merge branch 'nfsd-next' of https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
Diffstat (limited to 'include/linux/sunrpc/svc_rdma_pcl.h')
| -rw-r--r-- | include/linux/sunrpc/svc_rdma_pcl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc_rdma_pcl.h b/include/linux/sunrpc/svc_rdma_pcl.h index 7516ad0fae80..6346d8cf2587 100644 --- a/include/linux/sunrpc/svc_rdma_pcl.h +++ b/include/linux/sunrpc/svc_rdma_pcl.h @@ -97,7 +97,7 @@ pcl_next_chunk(const struct svc_rdma_pcl *pcl, struct svc_rdma_chunk *chunk) */ #define pcl_for_each_segment(pos, chunk) \ for (pos = &(chunk)->ch_segments[0]; \ - pos <= &(chunk)->ch_segments[(chunk)->ch_segcount - 1]; \ + pos < &(chunk)->ch_segments[(chunk)->ch_segcount]; \ pos++) /** @@ -119,6 +119,8 @@ extern bool pcl_alloc_call(struct svc_rdma_recv_ctxt *rctxt, __be32 *p); extern bool pcl_alloc_read(struct svc_rdma_recv_ctxt *rctxt, __be32 *p); extern bool pcl_alloc_write(struct svc_rdma_recv_ctxt *rctxt, struct svc_rdma_pcl *pcl, __be32 *p); +extern bool pcl_check_read_chunk_positions(struct svc_rdma_recv_ctxt *rctxt, + unsigned int inline_len); extern int pcl_process_nonpayloads(const struct svc_rdma_pcl *pcl, const struct xdr_buf *xdr, int (*actor)(const struct xdr_buf *, |
