[PATCH 0/5] add clean action for failed reconnection

Chao Leng lengchao at huawei.com
Wed Jan 20 22:32:35 EST 2021


Reconnection error handling process do not clean suppend requests, this
may cause crash due to use queue after free.
Add helper for clean code.

Chao Leng (5):
  nvme-core: add cancel tagset helpers
  nvme-rdma: add clean action for failed reconnection
  nvme-tcp: add clean action for failed reconnection
  nvme-rdma: use cancel tagset helper for tear down
  nvme-tcp: use cancel tagset helper for tear down

 drivers/nvme/host/core.c | 20 ++++++++++++++++++++
 drivers/nvme/host/nvme.h |  2 ++
 drivers/nvme/host/rdma.c | 30 ++++++++++++++++++------------
 drivers/nvme/host/tcp.c  | 30 ++++++++++++++++++------------
 4 files changed, 58 insertions(+), 24 deletions(-)

-- 
2.16.4




More information about the Linux-nvme mailing list