public inbox for bpf@vger.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Mykyta Yatsenko <mykyta.yatsenko5@gmail.com>
Cc: bpf@vger.kernel.org, ast@kernel.org, andrii@kernel.org,
	daniel@iogearbox.net, kafai@meta.com, kernel-team@meta.com,
	dan.carpenter@linaro.org, yatsenko@meta.com
Subject: Re: [PATCH bpf-next] bpf: fix error return value in bpf_copy_from_user_dynptr
Date: Fri, 23 May 2025 20:30:30 +0000	[thread overview]
Message-ID: <174803223099.3720362.14328269248541188946.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250523181705.261585-1-mykyta.yatsenko5@gmail.com>

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Fri, 23 May 2025 19:17:05 +0100 you wrote:
> From: Mykyta Yatsenko <yatsenko@meta.com>
> 
> On error, copy_from_user returns number of bytes not copied to
> destination, but current implementation of copy_user_data_sleepable does
> not handle that correctly and returns it as error value, which may
> confuse user, expecting meaningful negative error value.
> 
> [...]

Here is the summary with links:
  - [bpf-next] bpf: fix error return value in bpf_copy_from_user_dynptr
    https://git.kernel.org/bpf/bpf-next/c/079e5c56a5c4

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



      reply	other threads:[~2025-05-23 20:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-23 18:17 [PATCH bpf-next] bpf: fix error return value in bpf_copy_from_user_dynptr Mykyta Yatsenko
2025-05-23 20:30 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=174803223099.3720362.14328269248541188946.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=dan.carpenter@linaro.org \
    --cc=daniel@iogearbox.net \
    --cc=kafai@meta.com \
    --cc=kernel-team@meta.com \
    --cc=mykyta.yatsenko5@gmail.com \
    --cc=yatsenko@meta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox