[ldv-project] [PATCH] net: dsa: lantiq_gswip: fix use after free in gswip_remove()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Thu Feb 17 08:20:10 MSK 2022
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba at kernel.org>:
On Tue, 15 Feb 2022 13:42:48 +0300 you wrote:
> of_node_put(priv->ds->slave_mii_bus->dev.of_node) should be
> done before mdiobus_free(priv->ds->slave_mii_bus).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov at ispras.ru>
> Fixes: 0d120dfb5d67 ("net: dsa: lantiq_gswip: don't use devres for mdiobus")
> ---
> drivers/net/dsa/lantiq_gswip.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- net: dsa: lantiq_gswip: fix use after free in gswip_remove()
https://git.kernel.org/netdev/net/c/8c6ae46150a4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the ldv-project
mailing list