[ofa-general] [PATCH v2] ipiob: fix rtnl deadlock

Yossi Etigin yossi.openib at gmail.com
Fri Sep 12 04:22:09 PDT 2008


Seems like taking rtnl_lock in ipoib_mcast_join_complete() also causes a deadlock.
See bug #1186.


Roland Dreier wrote:
>  > What if you bring the device down, while you get a join completion event?
>  > ipoib_stop() can run in parellel with ipoib_mcast_join_complete(), and you
>  > will just wait for ipoib_stop() to finish to do netif_carrier_on() afterwards.
> 
> Yes, but after ipoib_stop() finishes, netif_carrier_on() doesn't do
> anything that could cause a problem, since the netdev is down.
> 
>  - R.
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> 



More information about the general mailing list