> Ibacm may cause segfault when the SM restarts: when the SM restarts, ibacm > will > receive P_Key change event and instruct ibacmp to close all endpoints. > However, > ibacmp only resets the core endpoint pointer in its ep structure and keeps > the ep > in the port's ep_list. Afterwards, the ibacm core will ask ibacmp to > create > an ep for each pkey enumerated from the local port. The ep will be found > from the port's ep_list if it exists. However, if an old pkey is not > present > in the new SM configuration, the old ep will still be linked in the port's > ep_list with the ep->endpoint being set to NULL. When the ibacm core > forwards > the client reregistration event to ibacmp, ibacmp will enumerate the > ep_list and > try to join multicast group for each ep, including any one with ep- > >endpoint > set to NULL. In this case, it will cause segfault in acm_send_sa_mad(). > Additional check should be able to avoid the crash. I'm having trouble following this. Is the problem that the provider is not cleaning up properly/completely when being told to close its endpoint? -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html