Re: [Patch net-next] net_sched: fix RTNL deadlock again caused by request_module()

2021-01-18 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Sat, 16 Jan 2021 16:56:57 -0800 you wrote: > From: Cong Wang > > tcf_action_init_1() loads tc action modules automatically with > request_module() after parsing the tc action names, and it drops RTNL > lock and re-hold

Re: [Patch net-next] net_sched: fix RTNL deadlock again caused by request_module()

2021-01-18 Thread Vlad Buslov
On Sun 17 Jan 2021 at 17:15, Jamal Hadi Salim wrote: > On 2021-01-16 7:56 p.m., Cong Wang wrote: >> From: Cong Wang >> tcf_action_init_1() loads tc action modules automatically with >> request_module() after parsing the tc action names, and it drops RTNL >> lock and re-holds it before and after r

Re: [Patch net-next] net_sched: fix RTNL deadlock again caused by request_module()

2021-01-17 Thread Jamal Hadi Salim
On 2021-01-16 7:56 p.m., Cong Wang wrote: From: Cong Wang tcf_action_init_1() loads tc action modules automatically with request_module() after parsing the tc action names, and it drops RTNL lock and re-holds it before and after request_module(). This causes a lot of troubles, as discovered by

[Patch net-next] net_sched: fix RTNL deadlock again caused by request_module()

2021-01-16 Thread Cong Wang
From: Cong Wang tcf_action_init_1() loads tc action modules automatically with request_module() after parsing the tc action names, and it drops RTNL lock and re-holds it before and after request_module(). This causes a lot of troubles, as discovered by syzbot, because we can be in the middle of b