Chunguang Xu f3ab45aacd nvme: avoid double free special payload
[ Upstream commit e5d574ab37f5f2e7937405613d9b1a724811e5ad ]

If a discard request needs to be retried, and that retry may fail before
a new special payload is added, a double free will result. Clear the
RQF_SPECIAL_LOAD when the request is cleaned.

Signed-off-by: Chunguang Xu <chunguang.xu@shopee.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-25 09:49:13 +02:00
..
2024-07-25 09:49:13 +02:00
2024-04-10 16:28:35 +02:00
2022-08-02 17:22:48 -06:00
2024-04-10 16:28:35 +02:00
2022-08-02 17:14:49 -06:00
2023-05-11 23:03:22 +09:00