]> git.baikalelectronics.ru Git - kernel.git/commit
bpf, verifier: remove unneeded flow key in check_helper_mem_access
authorDaniel Borkmann <daniel@iogearbox.net>
Sun, 21 Oct 2018 00:09:26 +0000 (02:09 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 21 Oct 2018 06:13:32 +0000 (23:13 -0700)
commite97234b4f5a0d3309e37ec3aece06412ad2d9f80
treeb897ee6360397d5fb2caf74c31f01f2a63d775a9
parentd5b041b2c352630b1125bda4f8fafa4902f25424
bpf, verifier: remove unneeded flow key in check_helper_mem_access

They PTR_TO_FLOW_KEYS is not used today to be passed into a helper
as memory, so it can be removed from check_helper_mem_access().

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/verifier.c