Messages in this thread | | | Subject | Re: [PATCH -next] selftests/bpf: fix wrong size passed to bpf_setsockopt() | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 24 Aug 2022 17:40:15 +0000 |
| |
Hello:
This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <daniel@iogearbox.net>:
On Wed, 24 Aug 2022 09:39:07 +0800 you wrote: > sizeof(new_cc) is not real memory size that new_cc point to, introduce > new_cc_len to store size then pass it to bpf_setsockopt(). > > Fixes: 31123c0360e0 ("selftests/bpf: bpf_setsockopt tests") > Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> > --- > tools/testing/selftests/bpf/progs/setget_sockopt.c | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-)
Here is the summary with links: - [-next] selftests/bpf: fix wrong size passed to bpf_setsockopt() https://git.kernel.org/bpf/bpf-next/c/6fc2838b148f
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |