diff options
author | 2020-10-22 10:15:31 +0800 | |
---|---|---|
committer | 2020-11-03 10:26:02 +0100 | |
commit | 0a8a2c85b83589a5c10bc5564b796836bf4b4984 (patch) | |
tree | a613dd4716c5f5741de6f17f8b6090b5940a7001 /drivers/usb/cdns3/cdns3-imx.c | |
parent | nvme-rdma: avoid repeated request completion (diff) | |
download | linux-dev-0a8a2c85b83589a5c10bc5564b796836bf4b4984.tar.xz linux-dev-0a8a2c85b83589a5c10bc5564b796836bf4b4984.zip |
nvme-tcp: avoid repeated request completion
The request may be executed asynchronously, and rq->state may be
changed to IDLE. To avoid repeated request completion, only
MQ_RQ_COMPLETE of rq->state is checked in nvme_tcp_complete_timed_out.
It is not safe, so need adding check IDLE for rq->state.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Chao Leng <lengchao@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions