[openwrt/openwrt] kernel: add missing symbol

LEDE Commits lede-commits at lists.infradead.org
Thu Sep 22 10:20:37 PDT 2022


stintel pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/f3ffb04a43465dbe06ffb22e0a9d228b8b1ad0a2

commit f3ffb04a43465dbe06ffb22e0a9d228b8b1ad0a2
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Sat Apr 2 23:41:27 2022 +0300

    kernel: add missing symbol
    
    Enabling KERNEL_KPROBES exposes KERNEL_BPF_KPROBE_OVERRIDE. Add a build
    option for it to fix build failures with KERNEL_KPROBES enabled.
    
    Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
    (cherry picked from commit 500c37c56ff60b46c30bb0ea7c92676bea23331a)
---
 config/Config-kernel.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 31d4e276fd..5e12ddd78d 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -422,6 +422,11 @@ config KERNEL_KPROBE_EVENTS
 	bool
 	default y if KERNEL_KPROBES
 
+config KERNEL_BPF_KPROBE_OVERRIDE
+	bool
+	depends on KERNEL_KPROBES
+	default n
+
 config KERNEL_AIO
 	bool "Compile the kernel with asynchronous IO support"
 	default y if !SMALL_FLASH




More information about the lede-commits mailing list