Commit c84e3693 authored by zhangwei's avatar zhangwei Committed by Xie XiuQi
Browse files

sec2: bugfix for code review and ut test



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

1.ctx->fusion_limit <= 0 && ctx->fusion_limit > QM_Q_DEPTH this condition
never reach
2.exceptions in queue_alloc may cause double free problem
3.use ERR_PTR() return error code for acc_alloc_multi_sgl function

Feature or Bugfix:Bugfix

Signed-off-by: default avatarZhangwei <zhangwei375@huawei.com>
Reviewed-by: default avatarlingmingqiang <lingmingqiang@huawei.com>
Reviewed-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 8dbc7136
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment