diff options
author | Sergey Gorenko <[email protected]> | 2018-02-25 13:39:48 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2018-02-28 12:10:32 -0700 |
commit | da343b6d90e11132f1e917d865d88ee35d6e6d00 (patch) | |
tree | 095a322cce7e203448b4f6067f0ca0d308a912cf /scripts/gdb/linux/proc.py | |
parent | f45765872e7aae7b81feb3044aaf9886b21885ef (diff) |
IB/mlx5: Fix incorrect size of klms in the memory region
The value of mr->ndescs greater than mr->max_descs is set in the
function mlx5_ib_sg_to_klms() if sg_nents is greater than
mr->max_descs. This is an invalid value and it causes the
following error when registering mr:
mlx5_0:dump_cqe:276:(pid 193): dump error cqe
00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000030: 00 00 00 00 0f 00 78 06 25 00 00 8b 08 1e 8f d3
Cc: <[email protected]> # 4.5
Fixes: b005d3164713 ("mlx5: Add arbitrary sg list support")
Signed-off-by: Sergey Gorenko <[email protected]>
Tested-by: Laurence Oberman <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions