402 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

openEuler-23.09 内核soft lockup,tc命令卡死

已完成
任务
创建于  
2023-09-11 17:08

标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)
【环境信息】

openeulerversion=openEuler-23.09
compiletime=2023-08-30-18-51-31
gccversion=12.3.1-9.oe2309
kernelversion=6.4.0-2.0.0.10.oe2309
openjdkversion=1.8.0.382.b05-3.oe2309

【问题复现步骤】,请描述具体的操作步骤
tc qdisc add dev enp4s0 root netem delay 100ms 200ms distribution normal
tc qdisc del dev enp4s0 root netem
tc qdisc add dev enp4s0 root netem delay 100ms 200ms distribution paretonormal

【实际结果】,请描述出问题的结果和影响
执行完命令卡死
输入图片说明
【其他相关附件信息】
比如系统message日志/组件日志、dump信息、图片等

评论 (4)

luaping 创建了任务

Hi luaping, 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
标签
luaping 里程碑设置为openEuler-23.09-round-3

问题是必现的吗,能否提供完整的dmesg log

试试合入这个补丁
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=11b73313c12403f617b47752db0ab3deef201af7

commit 11b73313c12403f617b47752db0ab3deef201af7
Author: Eric Dumazet edumazet@google.com
Date: Thu Jun 22 18:15:03 2023 +0000

sch_netem: fix issues in netem_change() vs get_dist_table()

In blamed commit, I missed that get_dist_table() was allocating
memory using GFP_KERNEL, and acquiring qdisc lock to perform
the swap of newly allocated table with current one.

In this patch, get_dist_table() is allocating memory and
copy user data before we acquire the qdisc lock.

Then we perform swap operations while being protected by the lock.

Note that after this patch netem_change() no longer can do partial changes.
If an error is returned, qdisc conf is left unchanged.

Fixes: 2174a08db80d ("sch_netem: acquire qdisc lock in netem_change()")
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230622181503.2327695-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
ci-robot 通过openeuler/kernel Pull Request !2236任务状态待办的 修改为已完成

2203sp3分支存在相同问题,麻烦同步下MR@stkid

登录 后才可以发表评论

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

搜索帮助