Re: [PATCH bpf-next] selftests/bpf: fix a typo in map in map test
From: Daniel Borkmann
Date: Fri Aug 03 2018 - 04:17:46 EST
On 08/03/2018 12:47 AM, Roman Gushchin wrote:
> Commit fbeb1603bf4e ("bpf: verifier: MOV64 don't mark dst reg unbounded")
> revealed a typo in commit fb30d4b71214 ("bpf: Add tests for map-in-map"):
> BPF_MOV64_REG(BPF_REG_0, 0) was used instead of
> BPF_MOV64_IMM(BPF_REG_0, 0).
>
> I've noticed the problem by running bpf kselftests.
>
> Fixes: fb30d4b71214 ("bpf: Add tests for map-in-map")
> Signed-off-by: Roman Gushchin <guro@xxxxxx>
> Cc: Martin KaFai Lau <kafai@xxxxxx>
> Cc: Arthur Fabre <afabre@xxxxxxxxxxxxxx>
> Cc: Daniel Borkmann <daniel@xxxxxxxxxxxxx>
> Cc: Alexei Starovoitov <ast@xxxxxxxxxx>
Applied to bpf-next, thanks Roman!