[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165001801097.12692.4030872547263934849.git-patchwork-notify@kernel.org>
Date: Fri, 15 Apr 2022 10:20:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Hangbin Liu <liuhangbin@...il.com>
Cc: netdev@...r.kernel.org, kuba@...nel.org, pabeni@...hat.com,
edumazet@...gle.com, davem@...emloft.net, fbl@...hat.com
Subject: Re: [PATCH net] net/packet: fix packet_sock xmit return value checking
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Thu, 14 Apr 2022 16:49:25 +0800 you wrote:
> packet_sock xmit could be dev_queue_xmit, which also returns negative
> errors. So only checking positive errors is not enough, or userspace
> sendmsg may return success while packet is not send out.
>
> Move the net_xmit_errno() assignment in the braces as checkpatch.pl said
> do not use assignment in if condition.
>
> [...]
Here is the summary with links:
- [net] net/packet: fix packet_sock xmit return value checking
https://git.kernel.org/netdev/net/c/29e8e659f984
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists