diff options
author | Majd Dibbiny <[email protected]> | 2016-01-28 17:51:47 +0200 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-02-02 16:42:22 -0500 |
commit | a168a41c8147fe644f1144031a6ec27a1a13fe37 (patch) | |
tree | 2042325862ce637003e7bce43ee6af201e5ad02e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | d4584ddfc97518a575ed538307e81e73456b8175 (diff) |
IB/mlx5: Fix reqlen validation in mlx5_ib_alloc_ucontext
Older libraries that don't have all the new req_v2 fields
should be able to work as well. Today, if the library uses v2, it
will fail to allocate context since the size of reqlen is smaller
than the req_v2 size.
Fix the validation to be with the original req_v2 size and not
the current.
Fixes: f72300c56c3b ('IB/mlx5: Expose CQE version to user-space')
Signed-off-by: Majd Dibbiny <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions