summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXu Kuohai <xukuohai@huawei.com>2023-08-04 10:37:37 +0300
committerMartin KaFai Lau <martin.lau@kernel.org>2023-08-10 06:29:02 +0300
commit7e96ec0e6605b69bb21bbf6c0ff9051e656ec2b1 (patch)
treeae21d2241e4c6551ca0041e433773283a13e7131 /tools/perf/scripts/python
parent85c2c79a07302fe68a1ad5cc449458cc559e314d (diff)
downloadlinux-7e96ec0e6605b69bb21bbf6c0ff9051e656ec2b1.tar.xz
bpf, sockmap: Fix map type error in sock_map_del_link
sock_map_del_link() operates on both SOCKMAP and SOCKHASH, although both types have member named "progs", the offset of "progs" member in these two types is different, so "progs" should be accessed with the real map type. Fixes: 604326b41a6f ("bpf, sockmap: convert to generic sk_msg interface") Signed-off-by: Xu Kuohai <xukuohai@huawei.com> Reviewed-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/r/20230804073740.194770-2-xukuohai@huaweicloud.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions