Commit 7ca9fd5b authored by Ruozhu Li's avatar Ruozhu Li Committed by Yang Yingliang
Browse files

nvme-rdma: fix crash casue by destroy id while resolving addr

driver inclusion
category: bugfix
bugzilla: NA
CVE: NA
Link: https://gitee.com/openeuler/kernel/issues/I1WGZE



-------------------------------------------------

when nvme_rdma_wait_for_cm timeout happened before resolve addr
timeout, we will destroy id while still resolving addr, this will
cause a crash.
so change wait for cm timeout to double amount of resolve addr timeout.

Signed-off-by: default avatarRuozhu Li <liruozhu@huawei.com>
Reviewed-by: default avatarChao Leng <lengchao@huawei.com>
Reviewed-by: default avatarJike Cheng <chengjike.cheng@huawei.com>
Signed-off-by: default avatarLijie <lijie34@huawei.com>
Acked-by: default avatarHanjun Guo <guohanjun@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 7f5e79f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment