diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2022-04-25 17:45:03 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-04-26 15:41:45 -0700 |
commit | 0994a54c5202114ad0e3b3a0f1326e810b23ad38 (patch) | |
tree | 4decce1af3e2f15077de5a15097e4153dae7cc87 /scripts/cc-can-link.sh | |
parent | afe98d46ba22316acfd198eb5cd4db2ef2d427d7 (diff) | |
download | linux-0994a54c5202114ad0e3b3a0f1326e810b23ad38.tar.bz2 |
libbpf: Drop unhelpful "program too large" guess
libbpf pretends it knows actual limit of BPF program instructions based
on UAPI headers it compiled with. There is neither any guarantee that
UAPI headers match host kernel, nor BPF verifier actually uses
BPF_MAXINSNS constant anymore. Just drop unhelpful "guess", BPF verifier
will emit actual reason for failure in its logs anyways.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220426004511.2691730-3-andrii@kernel.org
Diffstat (limited to 'scripts/cc-can-link.sh')
0 files changed, 0 insertions, 0 deletions