bpf: cleanup register_is_null()
authorAlexei Starovoitov <ast@fb.com>
Fri, 1 Dec 2017 05:31:40 +0000 (21:31 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 1 Dec 2017 10:25:10 +0000 (11:25 +0100)
commit914cb781ee1a35f4c7a5173a668d6ba2c4734b91
tree5245c021159fa3da5150360f21879e0e59f6c985
parent3bf15921c58df982f9b15d64754c483785bf66f3
bpf: cleanup register_is_null()

don't pass large struct bpf_reg_state by value.
Instead pass it by pointer.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
kernel/bpf/verifier.c