diff options
author | Alexei Starovoitov <ast@kernel.org> | 2018-02-03 04:53:49 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-02-03 04:53:49 +0300 |
commit | 09c0656dfabd0b15e410eca67dc45cb14ec9c13a (patch) | |
tree | 83671596b4c2f36d19f38f1312756022c037dbc5 /tools/lib/bpf/libbpf.c | |
parent | 0911287ce32b14fbc8aab0083151d9b54254091c (diff) | |
parent | b259c2ffd9b4812aa42a1d502eabd8c62a32d063 (diff) | |
download | linux-09c0656dfabd0b15e410eca67dc45cb14ec9c13a.tar.xz |
Merge branch 'libbpf-xdp-support'
Eric Leblond says:
====================
Here is an updated v8 version:
- add if_link.h in uapi and remove the definition
- fix a commit message
- remove uapi from a include
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
-rw-r--r-- | tools/lib/bpf/libbpf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c index 30c776375118..71ddc481f349 100644 --- a/tools/lib/bpf/libbpf.c +++ b/tools/lib/bpf/libbpf.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-2.1 + /* * Common eBPF ELF object loading operations. * @@ -106,6 +108,8 @@ static const char *libbpf_strerror_table[NR_ERRNO] = { [ERRCODE_OFFSET(PROG2BIG)] = "Program too big", [ERRCODE_OFFSET(KVER)] = "Incorrect kernel version", [ERRCODE_OFFSET(PROGTYPE)] = "Kernel doesn't support this program type", + [ERRCODE_OFFSET(WRNGPID)] = "Wrong pid in netlink message", + [ERRCODE_OFFSET(INVSEQ)] = "Invalid netlink sequence", }; int libbpf_strerror(int err, char *buf, size_t size) |