Revert "svcrdma: Catch another Reply chunk overflow case"

This reverts commit 6d3cecf9a4.
This commit is contained in:
Ksawlii 2024-11-24 00:23:42 +01:00
parent ac2d0b3ffb
commit 8529212e6d

View file

@ -460,8 +460,6 @@ svc_rdma_build_writes(struct svc_rdma_write_info *info,
offset += info->wi_seg_off;
write_len = min(remaining, length - info->wi_seg_off);
if (!write_len)
goto out_overflow;
ctxt = svc_rdma_get_rw_ctxt(rdma,
(write_len >> PAGE_SHIFT) + 2);
if (!ctxt)