diff options
author | 2022-04-10 22:06:48 -0500 | |
---|---|---|
committer | 2022-04-12 11:17:52 -0300 | |
commit | 290c4a902b79246ec55e477fc313f27f98393dee (patch) | |
tree | 9ab7931cb503f21576a52ac18ebe83ea4fd0497f /scripts/gdb/linux/utils.py | |
parent | Linux 5.18-rc2 (diff) | |
download | wireguard-linux-290c4a902b79246ec55e477fc313f27f98393dee.tar.xz wireguard-linux-290c4a902b79246ec55e477fc313f27f98393dee.zip |
RDMA/rxe: Fix "Replace mr by rkey in responder resources"
The referenced commit generates a reference counting error if the rkey has
the same index but the wrong key. In this case the reference taken by
rxe_pool_get_index() is not dropped.
Drop the reference if the keys don't match in rxe_recheck_mr(). Check
that the mw and mr are still valid.
Fixes: 8a1a0be894da ("RDMA/rxe: Replace mr by rkey in responder resources")
Link: https://lore.kernel.org/r/20220411030647.20011-1-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions