[PATCH 5.4 3/8] bpf: Rework ptr_limit into alu_limit and add common error path