aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorWeihang Li <[email protected]>2020-03-10 21:06:09 +0800
committerJason Gunthorpe <[email protected]>2020-03-13 11:36:58 -0300
commit9e57a9aa694cfc28f9549d2ce587309fdac15bfb (patch)
tree647bc735b95b6344b2da604e97fadd34d1c36d3b /tools/perf/scripts/python/syscall-counts.py
parentd613bd64c68bab6712c472281e79559bdc984b62 (diff)
RDMA/hns: Fix wrong judgments of udata->outlen
These judgments were used to keep the compatibility with older versions of userspace that don't have the field named "cap_flags" in structure hns_roce_ib_create_cq_resp. But it will be wrong to compare outlen with the size of resp if another new field were added in resp. oulen should be compared with the end offset of cap_flags in resp. Fixes: 4f8f0d5e33dd ("RDMA/hns: Package the flow of creating cq") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Weihang Li <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions