Re: [PATCH] NFC: fix resource leak when target index is invalid

From
patchwork-bot+netdevbpf@kernel.org
Date
2021-01-23 21:41:12
Also in
lkml
Reply to
Pan Bian, 2021-01-21
Hello:

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

On Thu, 21 Jan 2021 07:27:48 -0800 you wrote:
Goto to the label put_dev instead of the label error to fix potential
resource leak on path that the target index is invalid.

Fixes: c4fbb6515a4d ("NFC: The core part should generate the target index")
Signed-off-by: Pan Bian <redacted>
---
 net/nfc/rawsock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
  - NFC: fix resource leak when target index is invalid
    https://git.kernel.org/netdev/net/c/3a30537cee23

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

Thread (2 messages) 2 messages, 2 authors, last reply 2021-01-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help