summaryrefslogtreecommitdiffstats
path: root/samples/bpf/parse_simple.c
diff options
context:
space:
mode:
authorZhengchao Shao <shaozhengchao@huawei.com>2022-04-27 08:23:38 +0200
committerAndrii Nakryiko <andrii@kernel.org>2022-04-28 04:07:42 +0200
commitd1c57439e4f3db0a12259b9978905e92847505b8 (patch)
treeb8f4397e0970bced7bd13482b3fb8377e9223660 /samples/bpf/parse_simple.c
parentbpf/selftests: Add granular subtest output for prog_test (diff)
downloadlinux-d1c57439e4f3db0a12259b9978905e92847505b8.tar.xz
linux-d1c57439e4f3db0a12259b9978905e92847505b8.zip
samples/bpf: Detach xdp prog when program exits unexpectedly in xdp_rxq_info_user
When xdp_rxq_info_user program exits unexpectedly, it doesn't detach xdp prog of device, and other xdp prog can't be attached to the device. So call init_exit() to detach xdp prog when program exits unexpectedly. Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20220427062338.80173-1-shaozhengchao@huawei.com
Diffstat (limited to 'samples/bpf/parse_simple.c')
0 files changed, 0 insertions, 0 deletions