Commit 1bfc757
bpf: add a verbose message when the BTF limit is reached
When a BPF program which is being loaded reaches the map limit
(MAX_USED_MAPS) or the BTF limit (MAX_USED_BTFS) the -E2BIG is
returned. However, in the former case there is an accompanying
verifier verbose message, and in the latter case there is not.
Add a verbose message to make the behaviour symmetrical.
Signed-off-by: Anton Protopopov <[email protected]>1 parent 2842450 commit 1bfc757
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20193 | 20193 | | |
20194 | 20194 | | |
20195 | 20195 | | |
20196 | | - | |
| 20196 | + | |
| 20197 | + | |
| 20198 | + | |
20197 | 20199 | | |
| 20200 | + | |
20198 | 20201 | | |
20199 | 20202 | | |
20200 | 20203 | | |
| |||
0 commit comments