[PATCH] nvme-tcp: fix a segmentation fault during io parsing error

Hou Pu houpu.main at gmail.com
Wed Mar 17 04:11:28 GMT 2021


On 2021/3/16 11:52, Grupi, Elad wrote:
> Hi Hou,
>
> You are correct, this is the same issue.
>
> I have reviewed your patch and I have two concerns:
> 1. As Sagi mentioned, you might not have all the inline data in the socket at this point.
> 2. You might get hit on the last round of the budget of the receive loop, so you will still have a chance of hitting the response flow before reading all the data from the socket.

Yes, I realize my patch has these problems.

Thanks,

Hou




More information about the Linux-nvme mailing list