[PATCH] nvmet_tcp: fix header digest verification
Sagi Grimberg
sagi at grimberg.me
Wed Oct 20 10:53:12 PDT 2021
> One of our tests found that
> With the current code,
> recv_digest == exp_digest even if the pdu header digest is being modified (synthetically)
> For example:
> In case that pdu header digest is changed to 0xffffffff, recv == exp == 0xfffffff, and nvmet_tcp_verify_hdgst returns 0 - which is wrong
Not sure I follow. Can you describe in which case the passed offset !=
hdr->hlen?
> Internal Use - Confidential
Is this confidential?
More information about the Linux-nvme
mailing list