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

Sagi Grimberg sagi at grimberg.me
Fri Apr 9 18:52:49 BST 2021


> From: Elad Grupi <elad.grupi at dell.com>
> 
> In case there is an io that contains inline data and it goes to
> parsing error flow, command response will free command and iov
> before clearing the data on the socket buffer.
> This will delay the command response until receive flow is completed.
> 
> Fixes: 872d26a391da ("nvmet-tcp: add NVMe over TCP target driver")
> Signed-off-by: Elad Grupi <elad.grupi at dell.com>
> Signed-off-by: Hou Pu <houpu.main at gmail.com>

This looks fine to me:

Reviewed-by: Sagi Grimberg <sagi at grimberg.me>



More information about the Linux-nvme mailing list