Hello Roland,

Here is the new patch against 2.6.20-rc1 kernel. Please review it.

diff -urpN ipoib/ipoib_multicast.c ipoib-link/ipoib_multicast.c
--- ipoib/ipoib_multicast.c   2007-02-27 07:21:50.000000000 -0800
+++ ipoib-link/ipoib_multicast.c    2007-02-27 07:52:10.000000000 -0800
@@ -407,6 +407,11 @@ static int ipoib_mcast_join_complete(int
                  queue_delayed_work(ipoib_workqueue,
                                 &priv->mcast_task, 0);
            mutex_unlock(&mcast_mutex);
+           /*
+            * broadcast join finished, enable carrier
+            */
+           if (unlikely(mcast == priv->broadcast))
+                 netif_carrier_on(dev);
            return 0;
      }

@@ -596,7 +601,6 @@ void ipoib_mcast_join_task(struct work_s
      ipoib_dbg_mcast(priv, "successfully joined all multicast groups\n");

      clear_bit(IPOIB_MCAST_RUN, &priv->flags);
-     netif_carrier_on(dev);
 }

 int ipoib_mcast_start_thread(struct net_device *dev)

(See attached file: ipoib-link.patch)

Thanks
Shirley Ma

Attachment: ipoib-link.patch
Description: Binary data

_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

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

Reply via email to