[openib-general] [PATCH] id_priv_list->list is not initialized sometimes
Sean Hefty
mshefty at ichips.intel.com
Wed Sep 27 11:48:03 PDT 2006
Krishna Kumar wrote:
> rdma_listen could be called from a context where id_priv->list
> is not initialized. Then at a later stage, a cma_cancel_listen
> does a list_del() which could oops since this element is not
> on any list.
>
> Eg, in rdma_listen(), if id->device is !NULL, it calls
> cma_ib_listen() which doesn't add this id to any list. A
> cma_cancel_listen() will do a list_del.
I don't think this is needed. cma_cancel_listens() is only called if the id is
listening across multiple devices (and id->device is NULL). See
cma_cancel_operation().
- Sean
More information about the general
mailing list