Thread (2 messages) 2 messages, 2 authors, 2021-03-02

Re: [PATCH] atm: eni: dont release is never initialized

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-02 07:09:10
Also in: lkml

Hello:

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

On Sat, 27 Feb 2021 16:15:06 -0500 you wrote:
label err_eni_release is reachable when eni_start() fail.
In eni_start() it calls dev->phy->start() in the last step, if start()
fail we don't need to call phy->stop(), if start() is never called, we
neither need to call phy->stop(), otherwise null-ptr-deref will happen.

In order to fix this issue, don't call phy->stop() in label err_eni_release

[...]
Here is the summary with links:
  - atm: eni: dont release is never initialized
    https://git.kernel.org/netdev/net/c/4deb550bc3b6

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help