Message ID | 20230912005539.2248244-1-eddyz87@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | Avoid dummy bpf_offload_netdev in __bpf_prog_dev_bound_init | expand |
Hello: This series was applied to bpf/bpf.git (master) by Martin KaFai Lau <martin.lau@kernel.org>: On Tue, 12 Sep 2023 03:55:36 +0300 you wrote: > For a device bound BPF program with flag BPF_F_XDP_DEV_BOUND_ONLY, > in case if device does not support offload, __bpf_prog_dev_bound_init() > creates a dummy bpf_offload_netdev struct with .offdev field set to NULL. > > This dummy struct might be reused for programs without this flag > bound to the same device. However, bpf_prog_offload_verifier_prep() > that uses bpf_offload_netdev assumes that .offdev field cannot be NULL. > > [...] Here is the summary with links: - [bpf-next,1/2] bpf: Avoid dummy bpf_offload_netdev in __bpf_prog_dev_bound_init https://git.kernel.org/bpf/bpf/c/1a49f4195d34 - [bpf-next,2/2] selftests/bpf: Offloaded prog after non-offloaded should not cause BUG https://git.kernel.org/bpf/bpf/c/e4c31164737e You are awesome, thank you!