bpf: fix precision propagation verbose logging
authorAndrii Nakryiko <andrii@kernel.org>
Mon, 13 Mar 2023 18:40:17 +0000 (11:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:17 +0000 (23:03 +0900)
commita62ba7e0d2e81cbd71bf5e84a57803d56fb6e3de
tree575c77e7ced20dbfef7ccd7f57bde1d3f8c4395e
parent0049d2eddaf3778b8f3dd15d8cb5ec090f759ace
bpf: fix precision propagation verbose logging

[ Upstream commit 34f0677e7afd3a292bc1aadda7ce8e35faedb204 ]

Fix wrong order of frame index vs register/slot index in precision
propagation verbose (level 2) output. It's wrong and very confusing as is.

Fixes: 529409ea92d5 ("bpf: propagate precision across all frames, not just the last one")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20230313184017.4083374-1-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/bpf/verifier.c