Re: [PATCH -next] selftests/bpf: fix wrong size passed to bpf_setsockopt()

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

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

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@xxxxxxxxxx>
> ---
>  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





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux