bpf: extract same_callsites() as utility function
authorEduard Zingerman <eddyz87@gmail.com>
Tue, 24 Oct 2023 00:09:12 +0000 (03:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Feb 2024 00:18:58 +0000 (16:18 -0800)
commitb8615d7ff2b3d4c3ecd1ed3cd5fd11ba32933501
tree4e8d544faebe81749d8936af76e548e5df17caa7
parent4c6352f35eb2ef5e01c40cf9fb424948ef49d4e4
bpf: extract same_callsites() as utility function

commit 4c97259abc9bc8df7712f76f58ce385581876857 upstream.

Extract same_callsites() from clean_live_states() as a utility function.
This function would be used by the next patch in the set.

Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20231024000917.12153-3-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/bpf/verifier.c