Skip to content
Commit de5bb438 authored by Zhengchao Shao's avatar Zhengchao Shao Committed by Andrii Nakryiko
Browse files

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: default avatarZhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Reviewed-by: default avatarToke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20220606005425.261967-1-shaozhengchao@huawei.com
parent 3831cd1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment