[openib-general] [RFC] [PATCH 2/7] ib_multicast 2.6.20: add ib_multicast module to track join requests from the same port
Michael S. Tsirkin
mst at mellanox.co.il
Thu Oct 12 11:35:30 PDT 2006
Quoting r. Sean Hefty <sean.hefty at intel.com>:
> Subject: RE: [openib-general] [RFC] [PATCH 2/7] ib_multicast 2.6.20: add ib_multicast module to track join requests from the same port
>
> >But unlike the sa races which were unfixable without API changes,
> >here users can synchronize the removal of the mc object.
> >So I think what you describe is a user error.
>
> The user can ensure that an id is only destroyed once. What they cannot ensure
> is whether their callback is still running.
Ah. I get it.
If my callback will return error, I must make sure I won't destroy the cm_id.
But this means that I don't get the protection on destroy that was
checking that callbacks have all gone.
So, let's solve it in the same way we did for sa?
--
MST
More information about the general
mailing list