commit | 813961de3ee6474dd5703e883471fd941d6c8f69 | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@kernel.org> | Thu Nov 22 10:49:56 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Nov 22 21:29:40 2018 +0100 |
tree | c96784f1ab86f2fcdf98c420fd1f7fcb714e7107 | |
parent | dde7011a824cfa815b03f853ec985ff46b740939 [diff] |
bpf: fix integer overflow in queue_stack_map Fix the following issues: - allow queue_stack_map for root only - fix u32 max_entries overflow - disallow value_size == 0 Fixes: f1a2e44a3aec ("bpf: add queue and stack maps") Reported-by: Wei Wu <ww9210@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Cc: Mauricio Vasquez B <mauricio.vasquez@polito.it> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>