bpf: Rework ptr_limit into alu_limit and add common error path
stable inclusion from stable-5.10.32 commit 55565c30790839b40311c270a8b1a437ae9b2769 bugzilla: 51796 -------------------------------- commit b658bbb8 upstream. Small refactor with no semantic changes in order to consolidate the max ptr_limit boundary check. Signed-off-by:Daniel Borkmann <daniel@iogearbox.net> Reviewed-by:
John Fastabend <john.fastabend@gmail.com> Acked-by:
Alexei Starovoitov <ast@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Chen Jun <chenjun102@huawei.com> Acked-by:
Weilong Chen <chenweilong@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment