Skip to content
Commit b658bbb8 authored by Daniel Borkmann's avatar Daniel Borkmann
Browse files

bpf: Rework ptr_limit into alu_limit and add common error path



Small refactor with no semantic changes in order to consolidate the max
ptr_limit boundary check.

Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Reviewed-by: default avatarJohn Fastabend <john.fastabend@gmail.com>
Acked-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 24c109bb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment