428 Star 1.6K Fork 1.6K

GVPopenEuler/kernel

 / 详情

【openEuler 1.0-LTS】crypto出现hungtask问题

已完成
任务 成员
创建于  
2023-09-03 11:30

【严重程度】 一般
【特性】 安全/crypto
【重现类型】 有条件概率重现
【定位分析】

问题:pinst->flags设置PADATA_RESET时,padata_do_parallel不会触发pcrypt_aead_serial流程,而是直接返回-EBUSY的返回值,此时,__test_aead直在wait_for_completion等待,从而触发hungtask。

修改原理:将pinst->flags设置PADATA_RESET时padata_do_parallel的返回值改为-EAGAIN,使得__test_aead不会触发wait_for_completion等待

评论 (3)

lujialin 创建了任务 2年前

Hi lujialin2, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

openeuler-ci-bot 添加了
 
sig/Kernel
标签
2年前

合入代码前,问题复现:
输入图片说明

代码合入之后:
输入图片说明

lujialin 修改了描述 2年前
ci-robot 通过合并 Pull Request !1964: crypto:padata: Fix return err for PADATA_RESET任务状态待办的 修改为已完成 2年前

登录 后才可以发表评论

状态
负责人
项目
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
预计工期 (小时)
开始日期   -   截止日期
-
置顶选项
优先级
分支
参与者(2)
5329419 openeuler ci bot 1632792936 lujialin-lujialin2
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助