Thread (2 messages) 2 messages, 2 authors, 2021-12-15

Re: [PATCH net-next] ethtool: use ethnl_parse_header_dev_put()

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-12-15 11:10:23

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller [off-list ref]:

On Tue, 14 Dec 2021 00:42:30 -0800 you wrote:
From: Eric Dumazet <redacted>

It seems I missed that most ethnl_parse_header_dev_get() callers
declare an on-stack struct ethnl_req_info, and that they simply call
dev_put(req_info.dev) when about to return.

Add ethnl_parse_header_dev_put() helper to properly untrack
reference taken by ethnl_parse_header_dev_get().

[...]
Here is the summary with links:
  - [net-next] ethtool: use ethnl_parse_header_dev_put()
    https://git.kernel.org/netdev/net-next/c/34ac17ecbf57

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