[openib-general] Re: ipoib_mcast_send.patch

Michael S. Tsirkin mst at mellanox.co.il
Wed Feb 8 14:28:53 PST 2006


Quoting r. Roland Dreier <rdreier at cisco.com>:
> >From reading the code we can't call netif_carrier_on until after
> priv->broadcast has the attached flag set.  In ipoib_mcast_join_task(),
> we have
> 
> 	if (!test_bit(IPOIB_MCAST_FLAG_ATTACHED, &priv->broadcast->flags)) {
> 		ipoib_mcast_join(dev, priv->broadcast, 0);
> 		return;
> 	}
> 
> and then at the very bottom
> 
> 	netif_carrier_on(dev);
> 
>  - R.
> 

But we set the bit on finish, I thought ipoib_mcast_join only starts
it - right?

-- 
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies



More information about the general mailing list