|
@@ -345,7 +345,8 @@ static int rds_ib_laddr_check(struct net *net, __be32 addr)
|
|
|
/* Create a CMA ID and try to bind it. This catches both
|
|
|
* IB and iWARP capable NICs.
|
|
|
*/
|
|
|
- cm_id = rdma_create_id(&init_net, NULL, NULL, RDMA_PS_TCP, IB_QPT_RC);
|
|
|
+ cm_id = rdma_create_id(&init_net, rds_rdma_cm_event_handler,
|
|
|
+ NULL, RDMA_PS_TCP, IB_QPT_RC);
|
|
|
if (IS_ERR(cm_id))
|
|
|
return PTR_ERR(cm_id);
|
|
|
|