Loading
RDMA/hns: Fix some mutex UAF
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IA5Z6R ---------------------------------------------------------------------- umem_unfree_list_mutex and mtr_unfree_list_mutex may be used after being destroyed. To fix it, The mutex is destroyed after it is used for the last time. Fixes: a9184304 ("RDMA/hns: Fix sleeping in spin_lock critical section") Signed-off-by:wenglianfa <wenglianfa@huawei.com> Signed-off-by:
Guofeng Yue <yueguofeng@h-partners.com>