commit | 880505cfef1d086d18b59d2920eb2160429ffa1f | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgg@mellanox.com> | Tue Oct 01 12:38:16 2019 -0300 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Fri Oct 04 15:54:21 2019 -0300 |
tree | a8762b59e316f0f342e4845b77f1f446188841a3 | |
parent | 1cbe866cbcb53338de33cf67262e73f9315a9725 [diff] |
RDMA/mlx5: Do not allow rereg of a ODP MR This code is completely broken, the umem of a ODP MR simply cannot be discarded without a lot more locking, nor can an ODP mkey be blithely destroyed via destroy_mkey(). Fixes: 6aec21f6a832 ("IB/mlx5: Page faults handling infrastructure") Link: https://lore.kernel.org/r/20191001153821.23621-2-jgg@ziepe.ca Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>