crypto/hisilicon/qm:fix qp resource leak problem
driver inclusion category: bugfix bugzilla: NA CVE: NA This patch fixes qp resource leak in wd when doing resetting and qp allocation/free at the same time. - When doing resetting, all started qp including qp in user space will be set to stop state. qp in kernel will be restarted after hardware reset. However, qp in user space will not, we infor user there is an error and let user to handle this. - Modify to allow qp in init state to stop state. Feature or Bugfix:Bugfix Signed-off-by: NZhou Wang <wangzhou1@hisilicon.com> Reviewed-by: Nxuzaibo <xuzaibo@huawei.com> Reviewed-by: NLing Mingqiang <lingmingqiang@huawei.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录