diff options
| author | 2021-12-02 15:08:37 -0800 | |
|---|---|---|
| committer | 2021-12-02 15:23:41 -0800 | |
| commit | 080a70b21f476b39ad66524c0ce0729972c61a10 (patch) | |
| tree | dad6591838a9b35d8414ed4e80d0763b02ff2287 /samples/bpf/xdpsock_ctrl_proc.c | |
| parent | selftests/bpf: Update test names for xchg and cmpxchg (diff) | |
| parent | libbpf: Deprecate bpf_prog_load_xattr() API (diff) | |
| download | linux-dev-080a70b21f476b39ad66524c0ce0729972c61a10.tar.xz linux-dev-080a70b21f476b39ad66524c0ce0729972c61a10.zip | |
Merge branch 'Deprecate bpf_prog_load_xattr() API'
Andrii Nakryiko says:
====================
Few lines in the last patch to mark bpf_prog_load_xattr() deprecated required
a decent amount of clean ups in all the other patches. samples/bpf is big part
of the clean up.
This patch set also bumps libbpf version to 0.7, as libbpf v0.6 release will
be cut shortly.
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/bpf/xdpsock_ctrl_proc.c')
| -rw-r--r-- | samples/bpf/xdpsock_ctrl_proc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/samples/bpf/xdpsock_ctrl_proc.c b/samples/bpf/xdpsock_ctrl_proc.c index 384e62e3c6d6..cc4408797ab7 100644 --- a/samples/bpf/xdpsock_ctrl_proc.c +++ b/samples/bpf/xdpsock_ctrl_proc.c @@ -15,6 +15,9 @@ #include <bpf/xsk.h> #include "xdpsock.h" +/* libbpf APIs for AF_XDP are deprecated starting from v0.7 */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + static const char *opt_if = ""; static struct option long_options[] = { |
