aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2024-10-24 10:17:13 -0700
committerAndrii Nakryiko <[email protected]>2024-10-24 10:17:13 -0700
commitd5fb316e2af1d947f0f6c3666e373a54d9f27c6f (patch)
treeefb828d257aea579f783c2792164a55c3ce9f8b9 /scripts/generate_rust_analyzer.py
parent9806f283140ef3e4d259b7646bd8c66026bbaac5 (diff)
parent8421d4c8762bd022cb491f2f0f7019ef51b4f0a7 (diff)
Merge branch 'add-the-missing-bpf_link_type-invocation-for-sockmap'
Hou Tao says: ==================== Add the missing BPF_LINK_TYPE invocation for sockmap From: Hou Tao <[email protected]> Hi, The tiny patch set fixes the out-of-bound read problem when reading the fdinfo of sock map link fd. And in order to spot such omission early for the newly-added link type in the future, it also checks the validity of the link->type and adds a WARN_ONCE() for missed invocation. Please see individual patches for more details. And comments are always welcome. v3: * patch #2: check and warn the validity of link->type instead of adding a static assertion for bpf_link_type_strs array. v2: http://lore.kernel.org/bpf/[email protected] ==================== Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions