Re: [PATCH bpf-next v3] bpf: Only provide bpf_sock_from_file with CONFIG_NET
From: patchwork-bot+netdevbpf
Date: Tue Dec 08 2020 - 21:31:09 EST
Hello:
This patch was applied to bpf/bpf-next.git (refs/heads/master):
On Tue, 8 Dec 2020 18:36:23 +0100 you wrote:
> This moves the bpf_sock_from_file definition into net/core/filter.c
> which only gets compiled with CONFIG_NET and also moves the helper proto
> usage next to other tracing helpers that are conditional on CONFIG_NET.
>
> This avoids
> ld: kernel/trace/bpf_trace.o: in function `bpf_sock_from_file':
> bpf_trace.c:(.text+0xe23): undefined reference to `sock_from_file'
> When compiling a kernel with BPF and without NET.
>
> [...]
Here is the summary with links:
- [bpf-next,v3] bpf: Only provide bpf_sock_from_file with CONFIG_NET
https://git.kernel.org/bpf/bpf-next/c/b60da4955f53
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html