diff options
author | Eric Leblond <eric@regit.org> | 2018-01-30 23:55:04 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-02-03 04:53:48 +0300 |
commit | b259c2ffd9b4812aa42a1d502eabd8c62a32d063 (patch) | |
tree | 83671596b4c2f36d19f38f1312756022c037dbc5 /samples/trace_printk | |
parent | 6061a3d6720600c976b877c3ac1402b3ef0a8a55 (diff) | |
download | linux-b259c2ffd9b4812aa42a1d502eabd8c62a32d063.tar.xz |
samples/bpf: use bpf_set_link_xdp_fd
Use bpf_set_link_xdp_fd instead of set_link_xdp_fd to remove some
code duplication and benefit of netlink ext ack errors message.
Signed-off-by: Eric Leblond <eric@regit.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/trace_printk')
0 files changed, 0 insertions, 0 deletions