diff options
| author | Amery Hung <ameryhung@gmail.com> | 2025-05-02 13:16:23 -0700 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-05-02 15:42:48 -0700 |
| commit | 6cda0e2c4760695123dad2af3328e1cfb4f3f540 (patch) | |
| tree | e9f34ac2d93ff33c8dd0249c97e9520947163567 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | bpf: net_sched: Make some Qdisc_ops ops mandatory (diff) | |
| download | linux-6cda0e2c4760695123dad2af3328e1cfb4f3f540.tar.gz linux-6cda0e2c4760695123dad2af3328e1cfb4f3f540.zip | |
selftests/bpf: Test attaching a bpf qdisc with incomplete operators
Implement .destroy in bpf_fq and bpf_fifo as it is now mandatory.
Test attaching a bpf qdisc with a missing operator .init. This is not
allowed as bpf qdisc qdisc_watchdog_cancel() could have been called with
an uninitialized timer.
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions
