commit | 005142b8a1f0f32d33fbe04b728464c1b7acfa0e | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <[email protected]> | Tue Aug 18 21:27:56 2020 -0700 |
committer | Daniel Borkmann <[email protected]> | Thu Aug 20 16:02:36 2020 +0200 |
tree | bf08f0b09cdf8308afb0e66cc9132f2be866d9a9 | |
parent | 6e9cab2e3fa597419ec8a117a9f3e3ebc251c120 [diff] |
bpf: Factor out bpf_link_by_id() helper. Refactor the code a bit to extract bpf_link_by_id() helper. It's similar to existing bpf_prog_by_id(). Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]