Re: [PATCH bpf-next] bpf: Emit struct bpf_tcp_sock type in vmlinux BTF

[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 Tue, 2 May 2023 11:05:43 -0700 you wrote:
> In one of our internal testing, we found a case where
>   - uapi struct bpf_tcp_sock is in vmlinux.h where vmlinux.h is not
>     generated from the testing kernel
>   - struct bpf_tcp_sock is not in vmlinux BTF
> 
> The above combination caused bpf load failure as the following
> memory access
>   struct bpf_tcp_sock *tcp_sock = ...;
>   ... tcp_sock->snd_cwnd ...
> needs CORE relocation but the relocation cannot be resolved since
> the kernel BTF does not have corresponding type.
> 
> [...]

Here is the summary with links:
  - [bpf-next] bpf: Emit struct bpf_tcp_sock type in vmlinux BTF
    https://git.kernel.org/bpf/bpf-next/c/bf6882aebd0e

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