Make sure after after ipoib_ib_dev_flush is executed,
ipoib_mcast_restart_task is executed also to join all the
mcast groups maintained by the kernel for the device.

Signed-off-by: Eli Cohen <[EMAIL PROTECTED]>
Signed-off-by: Michael S. Tsirkin <[EMAIL PROTECTED]>

Index: openib-1.1/drivers/infiniband/ulp/ipoib/ipoib_ib.c
===================================================================
--- openib-1.1.orig/drivers/infiniband/ulp/ipoib/ipoib_ib.c     2006-09-14
17:20:06.000000000 +0300
+++ openib-1.1/drivers/infiniband/ulp/ipoib/ipoib_ib.c  2006-09-17
15:51:52.000000000 +0300
@@ -619,8 +619,10 @@
         * The device could have been brought down between the start and when
         * we get here, don't bring it back up if it's not configured up
         */
-       if (test_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags))
+       if (test_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags)) {
                ipoib_ib_dev_up(dev);
+               ipoib_mcast_restart_task(dev);
+       }
 
        mutex_lock(&priv->vlan_mutex);
 



_______________________________________________
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