>@@ -1011,9 +1011,10 @@ static int mini_cm_dec_refcnt_listen(struct nes_cm_core
>*cm_core,
>                                       event.cm_info.loc_port =
>                                                        loopback->loc_port;
>                                       event.cm_info.cm_id = loopback->cm_id;
>+                                      add_ref_cm_node(loopback);
>+                                      loopback->state = NES_CM_STATE_CLOSED;

It seems odd to increment a reference count in a function with the name
'dec_refcnt'.  Is there a better name for mini_cm_dec_refcnt_listen?

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to