diff options
author | Michal Kalderon <[email protected]> | 2019-11-18 17:06:45 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-11-19 16:15:36 -0400 |
commit | a25984f3baaa97079ce3e75c5a1d362155915a31 (patch) | |
tree | 62b12445e94ad571541f07f8125c46dc9dbc5ffb /scripts/gdb/linux/timerlist.py | |
parent | 0acc637dacb6bf12a17c9ad0c41d9ff3696d8b05 (diff) |
RDMA/qedr: Fix null-pointer dereference when calling rdma_user_mmap_get_offset
When running against rdma-core that doesn't support doorbell recovery, the
rdma_user_mmap_entry won't be allocated for doorbell recovery related
mappings.
We have a flag indicating whether rdma-core supports doorbell recovery or
not which was used during initialization, however some cases didn't check
that the rdma_user_mmap_entry exists before attempting to acquire it's
offset.
Fixes: 97f612509294 ("RDMA/qedr: Add doorbell overflow recovery support")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ariel Elior <[email protected]>
Signed-off-by: Michal Kalderon <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions