aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMartin KaFai Lau <martin.lau@kernel.org>2023-09-11 22:06:06 -0700
committerMartin KaFai Lau <martin.lau@kernel.org>2023-09-11 23:18:13 -0700
commit4a490247beba92d3a77485b43f7e98a84be26c46 (patch)
tree374828d16bb2e488f50e0e76d961028ab55476e0 /tools/perf/scripts/python/task-analyzer.py
parenta34a9f1a19afe9c60ca0ea61dfeee63a1c2baac8 (diff)
parente4c31164737e9a00de1be6455e2c667ac5478b3c (diff)
Merge branch 'Avoid dummy bpf_offload_netdev in __bpf_prog_dev_bound_init'
Eduard Zingerman says: ==================== For a device bound BPF program with flag BPF_F_XDP_DEV_BOUND_ONLY, in case if device does not support offload, __bpf_prog_dev_bound_init() creates a dummy bpf_offload_netdev struct with .offdev field set to NULL. This dummy struct might be reused for programs without this flag bound to the same device. However, bpf_prog_offload_verifier_prep() that uses bpf_offload_netdev assumes that .offdev field cannot be NULL. This bug was reported by syzbot in [1]. [1] https://lore.kernel.org/bpf/000000000000d97f3c060479c4f8@google.com/ ==================== Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions