bpf: extract same_callsites() as utility function
authorEduard Zingerman <eddyz87@gmail.com>
Tue, 24 Oct 2023 00:09:12 +0000 (03:09 +0300)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 24 Oct 2023 04:49:31 +0000 (21:49 -0700)
commit4c97259abc9bc8df7712f76f58ce385581876857
tree641861689622e60a92fdf40f3774ba9c5e02b72c
parent3c4e420cb6536026ddd50eaaff5f30e4f144200d
bpf: extract same_callsites() as utility function

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>
kernel/bpf/verifier.c