+16
−1
Loading
Enhance the bpf_arch_text_poke() function to enable accurate location of BPF program entry points. When modifying the entry point of a BPF program, skip the "move t0, ra" instruction to ensure the correct logic and copy of the jump address. Cc: stable@vger.kernel.org Fixes: 677e6123 ("LoongArch: BPF: Disable trampoline for kernel module function trace") Signed-off-by:Chenghao Duan <duanchenghao@kylinos.cn> Signed-off-by:
Huacai Chen <chenhuacai@loongson.cn>