commit | 4519efa6f8ea343e43ade21b0189b0b295439202 | [log] [tgz] |
---|---|---|
author | McCabe, Robert J <robert.mccabe@rockwellcollins.com> | Fri Apr 19 18:37:20 2019 -0500 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Apr 19 17:05:48 2019 -0700 |
tree | 2172562ab6a1f435765957254b0ee7b85627d7cd | |
parent | 80695946737dff4cfc1ecdefd4ebf300f132d8ee [diff] |
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>