Skip to content
Snippets Groups Projects
user avatar
Elad Grupi authored
[ Upstream commit bdaf1327 ]

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: 872d26a3 ("nvmet-tcp: add NVMe over TCP target driver")
Signed-off-by: default avatarElad Grupi <elad.grupi@dell.com>
Signed-off-by: default avatarHou Pu <houpu.main@gmail.com>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
b2c55f81
Name Last commit Last update