[openib-general] Re: [PATCH 2 of 2] ipoib: ipoib_multicast.c cleanup
Roland Dreier
rolandd at cisco.com
Tue Nov 29 10:31:17 PST 2005
I applied this bit as obviously correct:
> 2. Make sure mcast->done is initialized to uncompleted value
> before we submit a new query, so that its safe to wait on.
but I couldn't convince myself that
> 1. Make sure mcast->query is set to NULL if, and only if,
> no query is outstanding.
> 4. Protect all accesses to priv->broadcast, priv->multicast_list,
> mcast->query and mcast->done by priv->lock.
> I had to change mcast_mutex to ipoib_mcast_lock to make the last bit work.
were improvements (and there was no 3. ;)
- R.
More information about the general
mailing list