402 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

回合3个解决bonding oops问题的补丁

已完成
任务
创建于  
2022-01-18 15:11

1、bonding: 3ad: Fix the conflict between bond_update_slave_arr and the state machine
commit_id=83d686a6822322c4981b745dc1d7185f1f40811b
链接:https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=83d686a6822322c4981b745dc1d7185f1f40811b
Test commands:
ifconfig bond1 down
ifconfig bond1 up
频繁执行如上命令时,多cpu并发执行时,有可能出现执行先后顺序不一致,导致访问到了空指针的情况,此补丁增加了lock保护其先后执行顺序,已合入linux主线;

2、bonding: avoid adding slave device with IFF_MASTER flag
bonding: allow nesting of bonding device
这2个补丁是一起的,解决将VRF等master类型的设备加入bonding后出现的oops问题
Reference:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3c9ef511b9fa128a4c62e3aa0aac4c6b190f0d55
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4d293fe1c69c157c15ac06918a805e5fef036682
Test commands:
ip link add vrf1 type vrf table 1
modprobe bonding.ko max_bonds=1
echo "+vrf1" >/sys/class/net/bond0/bonding/slaves
rmmod bonding
必现

评论 (2)

gebidelidaye 创建了任务

Hi gebidelidaye_admin, 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: @YangYingliang , @pi3orama , @成坚 (CHENG Jian) , @Xie XiuQi

openeuler-ci-bot 添加了
 
sig/Kernel
标签
zhengzengkai 通过src-openeuler/kernel Pull Request !481任务状态待办的 修改为已完成

诚邀Issue的创建人,负责人,协作人以及评论人对此次Issue解决过程给予评价:

   0   1   2   3   4   5   6   7   8   9   10  

 不满意                        非常满意

登录 后才可以发表评论

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

搜索帮助

344bd9b3 5694891 D2dac590 5694891