Repository navigation
Commit ceb1167
bpf, offload: Reorder offload callback 'prepare' in verifier
Commit 4976b71 ("bpf: Introduce pseudo_btf_id") switched the
order of resolve_pseudo_ldimm(), in which some pseudo instructions
are rewritten. Thus those rewritten instructions cannot be passed
to driver via 'prepare' offload callback.
Reorder the 'prepare' offload callback to fix it.
Fixes: 4976b71 ("bpf: Introduce pseudo_btf_id")
Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20210520085834.15023-1-simon.horman@netronome.com1 parent 0af02eb commit ceb1167
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13368 | 13368 | | |
13369 | 13369 | | |
13370 | 13370 | | |
13371 | | - | |
13372 | | - | |
13373 | | - | |
13374 | | - | |
13375 | | - | |
13376 | | - | |
13377 | 13371 | | |
13378 | 13372 | | |
13379 | 13373 | | |
| |||
13401 | 13395 | | |
13402 | 13396 | | |
13403 | 13397 | | |
| 13398 | + | |
| 13399 | + | |
| 13400 | + | |
| 13401 | + | |
| 13402 | + | |
| 13403 | + | |
13404 | 13404 | | |
13405 | 13405 | | |
13406 | 13406 | | |
| |||
0 commit comments