Commit 4f7a6bd
bpf: Emit struct bpf_xdp_sock type in vmlinux BTF
Similar to other BPF UAPI struct, force emit BTF of struct bpf_xdp_sock
so that it is defined in vmlinux.h.
In a later patch, a selftest will use vmlinux.h to get the definition of
struct bpf_xdp_sock instead of bpf.h.
Signed-off-by: Amery Hung <[email protected]>1 parent 7a03ef1 commit 4f7a6bd
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7439 | 7439 | | |
7440 | 7440 | | |
7441 | 7441 | | |
| 7442 | + | |
| 7443 | + | |
7442 | 7444 | | |
7443 | 7445 | | |
7444 | 7446 | | |
| |||
0 commit comments