commit | 840b9615d6e9d134178b4dd4f3c30aa30643a379 | [log] [tgz] |
---|---|---|
author | Joe Stringer <joe@wand.net.nz> | Tue Oct 02 13:35:32 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Oct 03 02:53:47 2018 +0200 |
tree | e18e8e895b5e88bbe0eb938fe8719276b398e01b | |
parent | 9d2be44a7f33d5ec4fbd3368317bcf5f404bb8f7 [diff] |
bpf: Generalize ptr_or_null regs check This check will be reused by an upcoming commit for conditional jump checks for sockets. Refactor it a bit to simplify the later commit. Signed-off-by: Joe Stringer <joe@wand.net.nz> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>