[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166480021529.14393.10332909998214051231.git-patchwork-notify@kernel.org>
Date: Mon, 03 Oct 2022 12:30:15 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Maxim Mikityanskiy <maxtram95@...il.com>
Cc: m.chetan.kumar@...el.com, linuxwwan@...el.com,
loic.poulain@...aro.org, ryazanov.s.a@...il.com,
johannes@...solutions.net, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net] net: wwan: iosm: Call mutex_init before locking it
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Sat, 1 Oct 2022 13:57:13 +0300 you wrote:
> wwan_register_ops calls wwan_create_default_link, which ends up in the
> ipc_wwan_newlink callback that locks ipc_wwan->if_mutex. However, this
> mutex is not yet initialized by that point. Fix it by moving mutex_init
> above the wwan_register_ops call. This also makes the order of
> operations in ipc_wwan_init symmetric to ipc_wwan_deinit.
>
> Fixes: 83068395bbfc ("net: iosm: create default link via WWAN core")
> Signed-off-by: Maxim Mikityanskiy <maxtram95@...il.com>
>
> [...]
Here is the summary with links:
- [net] net: wwan: iosm: Call mutex_init before locking it
https://git.kernel.org/netdev/net/c/ba0fbdb95da5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists