Commit 04603b5
selftests: bpf: Add missing symbol declarations to common header
Fix implicit function declaration errors in bpf_qdisc_xxx.c by adding
the required kernel symbol declarations to the shared header file
bpf_qdisc_common.h. This ensures all qdisc BPF programs can properly
resolve these kernel functions.
The added declarations include:
- bpf_qdisc_skb_drop
- bpf_qdisc_bstats_update
- bpf_kfree_skb
- bpf_skb_get_hash
- bpf_qdisc_watchdog_schedule
Using a common header prevents duplication and ensures consistency
across different qdisc implementations.
Signed-off-by: Yuan Chen <[email protected]>1 parent dbe33e3 commit 04603b5
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
17 | 26 | | |
18 | 27 | | |
19 | 28 | | |
| |||
0 commit comments