anolis: net/smc: delay RDMA resource release until connecitons freed
anolis inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I79GVV CVE: NA Reference: https://gitee.com/anolis/cloud-kernel/commit/301e72b8a776d6e7e327dabd1f7f2bf8df40ebd9 -------------------------------- ANBZ: #2003 When SMC-R links down happened, the RDMA resources like mr, QP, PD are destroyed immediately. However, there might be some SMC-R connections still invoke them, which causes an use-after-free panic. So this patch delays the RDMA resources release until SMC-R connections are all freed. Link: https://gitee.com/anolis/cloud-kernel/pulls/677 Signed-off-by:Wen Gu <guwen@linux.alibaba.com> Reviewed-by:
Tony Lu <tonylu@linux.alibaba.com> Signed-off-by:
Gengbiao Shen <shengengbiao@sangfor.com.cn>
Loading
Please sign in to comment