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: NNarayan Ayalasomayajula <Narayan.Ayalasomayajula@wdc.com> Tested-by: NNarayan Ayalasomayajula <Narayan.Ayalasomayajula@wdc.com> Signed-off-by: NSagi Grimberg <sagi@grimberg.me> Signed-off-by: NChristoph Hellwig <hch@lst.de>
Showing
想要评论请 注册 或 登录