diff options
author | McCabe, Robert J <robert.mccabe@rockwellcollins.com> | 2019-04-20 01:37:20 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-04-20 02:05:48 +0200 |
commit | 4519efa6f8ea343e43ade21b0189b0b295439202 (patch) | |
tree | 2172562ab6a1f435765957254b0ee7b85627d7cd /Documentation/bpf/bpf_design_QA.rst | |
parent | bpf: move BPF_PROG_TYPE_FLOW_DISSECTOR documentation to a new common place (diff) | |
download | linux-4519efa6f8ea343e43ade21b0189b0b295439202.tar.xz linux-4519efa6f8ea343e43ade21b0189b0b295439202.zip |
libbpf: fix BPF_LOG_BUF_SIZE off-by-one error
The BPF_PROG_LOAD condition for kernel version <= 5.1 is
log->len_total > UINT_MAX >> 8 /* (16 * 1024 * 1024) - 1 */
Signed-off-by: McCabe, Robert J <robert.mccabe@rockwellcollins.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'Documentation/bpf/bpf_design_QA.rst')
0 files changed, 0 insertions, 0 deletions