[lvc-project] [PATCH v2] tcp_bpf: propagate error code in tcp_bpf_sendmsg()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Wed Oct 21 05:50:04 MSK 2026
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Mon, 19 Oct 2026 11:22:14 +0300 you wrote:
> In tcp_bpf_sendmsg(), the value returned by sk_msg_memcopy_from_iter()
> is checked for error but not propagated to 'out_err' label, so error
> handling may not work as expected. Fix this by assigning error value
> to 'err', thus making sure that error won't be silently ignored.
>
> Reported-by: Sashiko <shodan.ai at mcst.ru>
> Fixes: 5153a75ef34b ("tcp_bpf: Fix copied value in tcp_bpf_sendmsg")
> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>
>
> [...]
Here is the summary with links:
- [v2] tcp_bpf: propagate error code in tcp_bpf_sendmsg()
https://git.kernel.org/netdev/net/c/82e31923c055
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the lvc-project
mailing list