Parav Pandit
33f93e1ebc
IB/cm: Fix sleeping while spin lock is held
...
In case of LAP are used for RoCE, it can lead to a problem of sleeping a
context while spin lock is held in below flow.
cm_lap_handler
->spin_lock
-> <..switch_case..>
-> cm_init_av_for_response
-> ib_init_ah_from_wc
-> rdma_addr_find_l2_eth_by_grh
wait_for_completion()
Therefore ah attribute initialization is done for incoming lap requests
outside of the lock context.
Signed-off-by: Parav Pandit <parav@mellanox.com >
Reviewed-by: Daniel Jurgens <danielj@mellanox.com >
Signed-off-by: Leon Romanovsky <leon@kernel.org >
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com >
2017-12-18 15:37:11 -07:00
..
2017-11-30 13:37:29 +01:00
2017-11-29 13:10:25 -08:00
2017-11-27 12:36:45 -08:00
2017-11-21 16:35:54 -08:00
2017-12-01 08:05:45 -05:00
2017-11-26 14:11:54 -08:00
2017-11-17 20:04:24 -08:00
2017-11-23 16:29:05 +01:00
2017-11-22 00:00:14 +01:00
2017-11-29 18:40:42 -08:00
2017-11-17 14:58:01 -08:00
2017-11-21 15:46:44 -08:00
2017-12-01 09:15:57 +10:00
2017-11-21 15:57:07 -08:00
2017-11-30 13:12:44 -08:00
2017-11-17 20:16:20 -08:00
2017-11-27 19:14:29 +01:00
2017-11-19 08:04:41 -10:00
2017-11-21 15:57:07 -08:00
2017-12-18 15:37:11 -07:00
2017-11-21 16:35:54 -08:00
2017-11-21 15:57:07 -08:00
2017-11-26 14:39:20 -08:00
2017-11-21 15:57:09 -08:00
2017-11-21 15:46:44 -08:00
2017-11-24 16:23:01 -07:00
2017-11-29 18:40:42 -08:00
2017-11-21 15:57:07 -08:00
2017-11-21 15:57:07 -08:00
2017-12-03 10:48:24 -05:00
2017-12-01 08:14:22 -05:00
2017-11-27 13:05:09 -08:00
2017-11-29 13:10:25 -08:00
2017-11-21 15:57:09 -08:00
2017-11-21 15:57:07 -08:00
2017-11-17 09:51:57 -08:00
2017-11-28 08:49:26 -08:00
2017-11-20 21:38:41 -10:00
2017-11-26 14:11:54 -08:00
2017-11-17 16:10:04 -08:00
2017-11-25 08:37:16 -10:00
2017-11-21 15:57:07 -08:00
2017-11-22 21:09:18 -10:00
2017-11-17 16:56:17 -08:00
2017-11-17 20:14:10 -08:00
2017-11-17 20:12:08 -08:00
2017-11-25 08:37:16 -10:00
2017-11-30 08:13:36 -08:00
2017-11-17 20:21:44 -08:00
2017-11-25 08:37:16 -10:00
2017-11-27 13:05:09 -08:00
2017-11-25 08:37:16 -10:00
2017-11-17 14:31:27 -08:00
2017-11-21 16:35:54 -08:00
2017-11-21 15:57:07 -08:00
2017-11-21 15:57:07 -08:00
2017-11-17 12:08:18 -08:00
2017-11-20 21:50:24 -10:00
2017-11-21 15:57:07 -08:00
2017-11-21 15:57:05 -08:00