[PATCH] nvmet-tcp: Fix receive data digest calculation for multiple h2cdata PDUs

Sagi Grimberg sagi at grimberg.me
Tue Mar 16 06:29:42 GMT 2021


> Hi Sagi,

Hey Elad,

> Can you please explain why you avoid calling nvmet_tcp_unmap_pdu_iovec on data_digest PDU?
> I don't recall any other case that unmap is being called on good path.

You are correct. We need to either add unmap in the data_digest path
here or when completing the data digest reception.. Probably better
here.

Care to send a patch or should I?



More information about the Linux-nvme mailing list