mirror of
https://github.com/aya-rs/aya.git
synced 2026-09-27 10:02:34 +02:00
The VM modprobe only resolves modules.alias entries, although kernels can request a module by its canonical name. In particular, kernels before 6.10 request cls_bpf without an alias [1], so legacy TC attachment tests were skipped despite kernel support for the tested operations. Use the requested name when no alias matches, leaving the module file lookup to reject missing modules. Require a single filename component and escape glob metacharacters so names are looked up literally. Exercise both forms through the resolver and remove the TC tests' workaround for this limitation. [1]: https://github.com/torvalds/linux/commit/2c15a5aee