anolis: net/smc: fix deadlock when lgr terminating
anolis inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I79GVV CVE: NA Reference: https://gitee.com/anolis/cloud-kernel/commit/a3dbfaa26d95e1e9775869699663dbf2ff6e60e7 -------------------------------- ANBZ: #1742 A potential deadlock may occur in the following scenarios: smc_close __smc_lgr_terminate lock_sock lock_sock smc_conn_kill smc_cdc_wait_pend_tx_wr wait_event(cdc_pend_tx_wq) Once SMC link is not available, pending CDC may not receive their corresponding cqe. Hence, a potential deadlock has occurred. Signed-off-by:D. Wythe <alibuda@linux.alibaba.com> Acked-by:
Tony Lu <tonylu@linux.alibaba.com> Link: https://gitee.com/anolis/cloud-kernel/pulls/577 Signed-off-by:
Gengbiao Shen <shengengbiao@sangfor.com.cn>
Loading
Please sign in to comment