> -    napi_enable(&priv->napi);
 > -    set_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags);
 > +    if (!test_and_set_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags))
 > +            napi_enable(&priv->napi);
 > 
 >      if (ipoib_pkey_dev_delay_open(dev))
 >              return 0;

Does it work just to move the napi_enable() to after the
ipoib_pkey_dev_delay_open() test?

 - R.
_______________________________________________
general mailing list
general@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

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

Reply via email to