RDMA/hns: clear event flag after free cmd context
driver inclusion category: bugfix bugzilla: NA CVE: NA For cmd, when change mode form event to poll, we should release context used for event mode and clear event flag. After hem init failed, cmd release event context without clearing the flag, resulting eq using the context memory that has been freed. These operations should be placed together. Feature or Bugfix:Bugfix Signed-off-by: NLang Cheng <chenglang@huawei.com> Reviewed-by: Nliuyixian <liuyixian@huawei.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录