[openwrt/openwrt] Revert "kernel: add MODULE_ALLOW_BTF_MISMATCH option"
LEDE Commits
lede-commits at lists.infradead.org
Thu May 25 01:40:31 PDT 2023
dangole pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/e996c6eb19ce9fca583d4b146788309e1c10093b
commit e996c6eb19ce9fca583d4b146788309e1c10093b
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Wed May 24 09:27:29 2023 +0100
Revert "kernel: add MODULE_ALLOW_BTF_MISMATCH option"
This reverts commit c07038da27cefa5a93e433909b9aca594386ddc1.
MODULE_ALLOW_BTF_MISMATCH is not available in Linux 5.15.
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
config/Config-kernel.in | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 6c5e6a967a..3a2189d63a 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -373,16 +373,6 @@ config KERNEL_DEBUG_INFO_BTF
Required to run BPF CO-RE applications.
-config KERNEL_MODULE_ALLOW_BTF_MISMATCH
- bool "Allow loading modules with non-matching BTF type info"
- depends on KERNEL_DEBUG_INFO_BTF
- help
- For modules whose split BTF does not match vmlinux, load without
- BTF rather than refusing to load. The default behavior with
- module BTF enabled is to reject modules with such mismatches;
- this option will still load module BTF where possible but ignore
- it when a mismatch is found.
-
config KERNEL_DEBUG_INFO_REDUCED
bool "Reduce debugging information"
default y
More information about the lede-commits
mailing list