[PATCH] nvmet-tcp: fix data digest calculation for multiple H2CData PDUs
Christoph Hellwig
hch at lst.de
Sun Jul 30 23:01:19 PDT 2023
On Thu, Jul 27, 2023 at 08:37:31PM +0530, Varun Prakash wrote:
> On receiving H2CData PDU current code calculates data digest for the entire
> transfer length, it works if host sends only one H2CData PDU per cmd, if
> host sends multiple H2CData PDU per cmd then target reports data digest
> error.
>
> This issue was fixed in commit fda871c0ba5d ("nvmet-tcp: fix receive data
> digest calculation for multiple h2cdata PDUs").
>
> commit ed0691cf5514 ("nvmet-tcp: fix regression in data_digest
> calculation") reverted the fix done in the above commit.
This simply seems to revert this revert again and not address the
reason why it was reverted.
More information about the Linux-nvme
mailing list