diff options
author | Hou Tao <[email protected]> | 2024-10-24 09:35:57 +0800 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-10-24 10:17:12 -0700 |
commit | c2f803052bc7a7feb2e03befccc8e49b6ff1f5f5 (patch) | |
tree | f2cf4b0f659d88cc5ddd58188844f26f4ee11e80 /tools/perf/scripts/python/gecko.py | |
parent | 9806f283140ef3e4d259b7646bd8c66026bbaac5 (diff) |
bpf: Add the missing BPF_LINK_TYPE invocation for sockmap
There is an out-of-bounds read in bpf_link_show_fdinfo() for the sockmap
link fd. Fix it by adding the missing BPF_LINK_TYPE invocation for
sockmap link
Also add comments for bpf_link_type to prevent missing updates in the
future.
Fixes: 699c23f02c65 ("bpf: Add bpf_link support for sk_msg and sk_skb progs")
Signed-off-by: Hou Tao <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions