commit | 2305d6864aa54c1887563d9096e4b746bc776d04 | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgg@mellanox.com> | Tue Mar 10 11:25:34 2020 +0200 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Tue Mar 17 17:05:52 2020 -0300 |
tree | b1a3e48ada37c1dd668d8a146be805948c3b6a0e | |
parent | bede86a39d9dc3387ac00dcb8e1ac221676b2f25 [diff] |
RDMA/cm: Make the destroy_id flow more robust Too much of the destruction is very carefully sensitive to the state and various other things. Move more code to the unconditional path and add several WARN_ONs to check consistency. Link: https://lore.kernel.org/r/20200310092545.251365-5-leon@kernel.org Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>