diff options
author | 2022-06-06 08:54:25 +0800 | |
---|---|---|
committer | 2022-06-15 17:26:20 -0700 | |
commit | de5bb43826dd5326ade7158fc45bca0b9c0d927d (patch) | |
tree | d0e3c3c3590388de6e8ddf9f10f20dca6efc9adc /tools/testing/selftests/bpf/prog_tests | |
parent | selftests/bpf: Avoid skipping certain subtests (diff) | |
download | linux-dev-de5bb43826dd5326ade7158fc45bca0b9c0d927d.tar.xz linux-dev-de5bb43826dd5326ade7158fc45bca0b9c0d927d.zip |
samples/bpf: Check detach prog exist or not in xdp_fwd
Before detach the prog, we should check detach prog exist or not.
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20220606005425.261967-1-shaozhengchao@huawei.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions