diff options
| author | Hou Tao <houtao1@huawei.com> | 2023-12-08 18:23:52 +0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-12-09 18:12:34 -0800 |
| commit | 67ad2c73ff29b32bd09135ec07c26e59490dbb3b (patch) | |
| tree | 9345409ae3b7a1e2f94272b4f60bc90d53f1767f /scripts/gdb/linux/proc.py | |
| parent | 012772581d040607ac1f981f47f6afd2336b4580 (diff) | |
bpf: Only call maybe_wait_bpf_programs() when map operation succeeds
There is no need to call maybe_wait_bpf_programs() if update or deletion
operation fails. So only call maybe_wait_bpf_programs() if update or
deletion operation succeeds.
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20231208102355.2628918-5-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
