Re: [PATCH] selftests/bpf: Fix count write in testapp_xdp_metadata_copy()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

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

On Fri, 29 Aug 2025 16:33:49 -0300 you wrote:
> Commit 4b302092553c ("selftests/xsk: Add tail adjustment tests and support
> check") added a new global to xsk_xdp_progs.c, but left out the access in
> the testapp_xdp_metadata_copy() function. Since bpf_map_update_elem() will
> write to the whole bss section, it gets truncated. Fix by writing to
> skel_rx->bss->count directly.
> 
> Fixes: 4b302092553c ("selftests/xsk: Add tail adjustment tests and support check")
> Signed-off-by: Ricardo B. Marlière <rbm@xxxxxxxx>
> 
> [...]

Here is the summary with links:
  - selftests/bpf: Fix count write in testapp_xdp_metadata_copy()
    https://git.kernel.org/bpf/bpf-next/c/c9110e6f7237

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






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux