diff options
| author | Jack Morgenstein <[email protected]> | 2020-04-26 07:59:21 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-05-12 14:47:48 +0000 |
| commit | 6693ca95bd4330a0ad7326967e1f9bcedd6b0800 (patch) | |
| tree | acd24d122b8bba0cc9047b77716def88768070fd /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | RDMA/rxe: Always return ERR_PTR from rxe_create_mmap_info() (diff) | |
| download | kernel-6693ca95bd4330a0ad7326967e1f9bcedd6b0800.tar.gz kernel-6693ca95bd4330a0ad7326967e1f9bcedd6b0800.zip | |
IB/mlx4: Test return value of calls to ib_get_cached_pkey
In the mlx4_ib_post_send() flow, some functions call ib_get_cached_pkey()
without checking its return value. If ib_get_cached_pkey() returns an
error code, these functions should return failure.
Fixes: 1ffeb2eb8be9 ("IB/mlx4: SR-IOV IB context objects and proxy/tunnel SQP support")
Fixes: 225c7b1feef1 ("IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters")
Fixes: e622f2f4ad21 ("IB: split struct ib_send_wr")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jack Morgenstein <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
