[功能建议] 默认开启 CONFIG_KERNEL_DYNAMIC_FTRACE,使 dae 等 eBPF 工具原生 fentry 生效

作者: itoywh创建于 2026年8月15日更新于 2026年8月16日
标签AI-generated

ImmortalWrt 25.12.1 has opened KERNEL_FTRACE/KERNEL_KPROBES/KERNEL_DEBUG_INFO_BTF/KERNEL_NETKIT for the eBPF ecosystem, but lacks the critical KERNEL_DYNAMIC_FTRACE.

Problem The TCP relay eBPF offload of dae (and sing-box/xray, etc.) is implemented by attaching fentry to skb_send_sock_locked for kernel fast path forwarding; fentry requires DYNAMIC_FTRACE to cleanly poke a NOP stub (bpf_arch_text_poke) at the kernel function entry. When the kernel lacks this item, fentry attaches directly to EBUSY, and can only fall back to kprobe (the 353e9526 of upstream olicesx/dae is this workaround).

内容来源: immortalwrt/immortalwrt