Loading
RDMA/hns: Fix scc_param delay_work to execute after sysfs shutdown
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9GZX2 ---------------------------------------------------------------------- After sysfs is disabled, scc delay_work may continue to be executed, causing the UAF problem. To fix it, cancel_delayde_work_sync() is introduced to ensure that scc delay_work is canceled or executed. Fixes: 41da9cd8 ("RDMA/hns: Support congestion control algorithm parameter configuration") Signed-off-by:wenglianfa <wenglianfa@huawei.com>