Re: [PATCH] atm: lanai: dont run lanai_dev_close if not open

From: patchwork-bot+netdevbpf
Date: Tue Mar 02 2021 - 02:10:33 EST


Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Sat, 27 Feb 2021 22:55:50 -0500 you wrote:
> lanai_dev_open() can fail. When it fail, lanai->base is unmapped and the
> pci device is disabled. The caller, lanai_init_one(), then tries to run
> atm_dev_deregister(). This will subsequently call lanai_dev_close() and
> use the already released MMIO area.
>
> To fix this issue, set the lanai->base to NULL if open fail,
> and test the flag in lanai_dev_close().
>
> [...]

Here is the summary with links:
- atm: lanai: dont run lanai_dev_close if not open
https://git.kernel.org/netdev/net/c/a2bd45834e83

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html