summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJacob Moroni <jmoroni@google.com>2026-07-13 17:12:56 +0000
committerLeon Romanovsky <leon@kernel.org>2026-07-20 09:45:43 -0400
commit628f33362e80953ca80c457ca53e4c8458381a7b (patch)
treee2d429534801d5f8ba9a5d8457731a2c08f6cd1a /tools/perf/scripts/python/task-analyzer.py
parent173fc2b8dcd1537b481eb67e775f49c7b7f73268 (diff)
RDMA/irdma: Fix legacy i40iw compat check in create_qp
The irdma driver maintains backward compatibility with the legacy i40iw userspace provider by checking the length of the user response buffer in irdma_create_qp. Previously, the check relied on udata->outlen < sizeof(uresp). That is technically okay since there have only ever been two sizes for the resp struct (legacy and current). However, it would be a problem if the resp struct is ever expanded in the future because it would end up triggering the legacy fallback path for non-legacy irdma providers that just haven't moved over to the newer expanded struct yet. Fix this by explicitly checking for the exact legacy resp size. Signed-off-by: Jacob Moroni <jmoroni@google.com> Link: https://patch.msgid.link/20260713171257.3131493-6-jmoroni@google.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions