Quoting r. Roland Dreier <[EMAIL PROTECTED]>:
> Subject: Re: [PATCH] IB/ipoib: user appropriate mtu selector for path queries
> 
>     Michael> I'm not sure priv->broadcast is always initialized when
>     Michael> we start a path record query. Is there a reason why it is?
> 
> IPoIB can't send a packet until the broadcast group is joined, since
> it doesn't do netif_carrier_on() until then.  So I don't see any way
> that a path record query could start before we know the real mtu.

Good point, thanks. If we switch to that, a BUG_ON(priv->broadcast) just in case
won't hurt tough, would it?

-- 
MST

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to