diff options
author | David S. Miller <davem@davemloft.net> | 2019-09-27 16:23:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-27 16:23:32 +0200 |
commit | 3c30819dc68ab9498216421b6846123900c0a6d3 (patch) | |
tree | 2da4d8143b0a9f171cb38ba70ca9c1f339b24cef /include | |
parent | 5c7ff18149fe9f2302f6910cacc80b6183fb0729 (diff) | |
parent | 768fb61fcc13b2acaca758275d54c09a65e2968b (diff) | |
download | linux-stable-3c30819dc68ab9498216421b6846123900c0a6d3.tar.gz linux-stable-3c30819dc68ab9498216421b6846123900c0a6d3.tar.bz2 linux-stable-3c30819dc68ab9498216421b6846123900c0a6d3.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Daniel Borkmann says:
====================
pull-request: bpf 2019-09-27
The following pull-request contains BPF updates for your *net* tree.
The main changes are:
1) Fix libbpf's BTF dumper to not skip anonymous enum definitions, from Andrii.
2) Fix BTF verifier issues when handling the BTF of vmlinux, from Alexei.
3) Fix nested calls into bpf_event_output() from TCP sockops BPF
programs, from Allan.
4) Fix NULL pointer dereference in AF_XDP's xsk map creation when
allocation fails, from Jonathan.
5) Remove unneeded 64 byte alignment requirement of the AF_XDP UMEM
headroom, from Bjorn.
6) Remove unused XDP_OPTIONS getsockopt() call which results in an error
on older kernels, from Toke.
7) Fix a client/server race in tcp_rtt BPF kselftest case, from Stanislav.
8) Fix indentation issue in BTF's btf_enum_check_kflag_member(), from Colin.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/btf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/btf.h b/include/uapi/linux/btf.h index 63ae4a39e58b..c02dec97e1ce 100644 --- a/include/uapi/linux/btf.h +++ b/include/uapi/linux/btf.h @@ -22,9 +22,9 @@ struct btf_header { }; /* Max # of type identifier */ -#define BTF_MAX_TYPE 0x0000ffff +#define BTF_MAX_TYPE 0x000fffff /* Max offset into the string section */ -#define BTF_MAX_NAME_OFFSET 0x0000ffff +#define BTF_MAX_NAME_OFFSET 0x00ffffff /* Max # of struct/union/enum members or func args */ #define BTF_MAX_VLEN 0xffff |