Re: [PATCH net-next] net: core: Replace fput with sockfd_put
From: patchwork-bot+netdevbpf
Date: Tue Dec 29 2020 - 10:42:36 EST
Hello:
This patch was applied to bpf/bpf-next.git (refs/heads/master):
On Tue, 29 Dec 2020 21:48:34 +0800 you wrote:
> The function sockfd_lookup uses fget on the value that is stored in
> the file field of the returned structure, so fput should ultimately be
> applied to this value. This can be done directly, but it seems better
> to use the specific macro sockfd_put, which does the same thing.
>
> The problem was fixed using the following semantic patch.
> (http://www.emn.fr/x-info/coccinelle/)
>
> [...]
Here is the summary with links:
- [net-next] net: core: Replace fput with sockfd_put
https://git.kernel.org/bpf/bpf-next/c/f734031bb4c7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html