diff options
| author | Chenghao Duan <duanchenghao@kylinos.cn> | 2026-01-06 10:55:02 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-08 10:17:21 +0100 |
| commit | e7a7d7e629c2abcc0ade47b148ebe71d5832ead9 (patch) | |
| tree | 80b402349d8dae289e5d90c84b5420d0b7a20d47 /include/net/aligned_data.h | |
| parent | 845306163962454083f97d9a2e22f67f94ac8e1f (diff) | |
LoongArch: BPF: Enhance the bpf_arch_text_poke() function
commit 73721d8676771c6c7b06d4e636cc053fc76afefd upstream.
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: 677e6123e3d2 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
