Files
openwrt-R7800-nss/target/linux
Tony Ambardar ce51f27fb0 kernel: 6.6: prevent garbage-cleanup of BPF kfuncs
Backport an upstream Linux fix to prevent BPF kfunc functions from being
removed during linker optimization when building BTF-enabled vmlinux.

The telltale sign of this occurring is build log warnings (e.g. mips64el):

      BTFIDS  vmlinux
    WARN: resolve_btfids: unresolved symbol bpf_verify_pkcs7_signature
    WARN: resolve_btfids: unresolved symbol bpf_lookup_user_key
    WARN: resolve_btfids: unresolved symbol bpf_lookup_system_key
    WARN: resolve_btfids: unresolved symbol bpf_key_put
    WARN: resolve_btfids: unresolved symbol bpf_iter_task_next
    WARN: resolve_btfids: unresolved symbol bpf_iter_css_task_new
    WARN: resolve_btfids: unresolved symbol bpf_get_file_xattr
    WARN: resolve_btfids: unresolved symbol bpf_ct_insert_entry
      NM      System.map
      SORTTAB vmlinux

Link: https://lore.kernel.org/bpf/ZlkoM6%2FPSxVcGM6X@kodidev-ubuntu/
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/15697
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-06-13 14:16:34 +02:00
..
2024-06-05 09:34:06 +02:00
2024-06-08 14:16:19 +02:00
2024-06-08 14:16:19 +02:00
2024-04-30 20:18:15 +02:00
2024-05-29 17:56:28 +02:00
2024-05-19 22:06:11 +02:00
2024-06-08 14:16:19 +02:00
2024-05-04 14:14:16 +08:00
2024-04-25 14:33:22 +02:00
2024-05-09 10:43:37 +02:00
2024-04-30 11:02:48 +02:00
2024-06-02 17:56:28 +02:00
2024-05-31 11:25:48 +02:00
2024-05-01 10:26:41 +02:00