diff options
author | Magnus Karlsson <magnus.karlsson@intel.com> | 2019-04-10 08:54:16 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-04-10 09:51:50 +0200 |
commit | 50bd645b3a21a374dbd0fa8273a5f4e98001fb05 (patch) | |
tree | 3f3d8e6de145a43ce2a9da19fa6fe250b566ffb2 /crypto/md4.c | |
parent | bpf, bpftool: fix a few ubsan warnings (diff) | |
download | linux-50bd645b3a21a374dbd0fa8273a5f4e98001fb05.tar.xz linux-50bd645b3a21a374dbd0fa8273a5f4e98001fb05.zip |
libbpf: fix crash in XDP socket part with new larger BPF_LOG_BUF_SIZE
In commit da11b417583e ("libbpf: teach libbpf about log_level bit 2"),
the BPF_LOG_BUF_SIZE was increased to 16M. The XDP socket part of
libbpf allocated the log_buf on the stack, but for the new 16M buffer
size this is not going to work. Change the code so it uses a 16K buffer
instead.
Fixes: da11b417583e ("libbpf: teach libbpf about log_level bit 2")
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'crypto/md4.c')
0 files changed, 0 insertions, 0 deletions