nvmet-tcp: fix receive data digest calculation for multiple h2cdata PDUs
When a host sends multiple h2cdata PDUs for a single command, we should verify the data digest calculation per PDU and not per command. Fixes: 872d26a3 ("nvmet-tcp: add NVMe over TCP target driver") Reported-by:Narayan Ayalasomayajula <Narayan.Ayalasomayajula@wdc.com> Tested-by:
Narayan Ayalasomayajula <Narayan.Ayalasomayajula@wdc.com> Signed-off-by:
Sagi Grimberg <sagi@grimberg.me> Signed-off-by:
Christoph Hellwig <hch@lst.de>
Showing
Please register or sign in to comment