When trying to join multicast from ipoib and SM address handle is NULL, the join returns with -EAGAIN status. In
that case, do not print an error.

Signed-off-by: Yossi Etigin <yos...@voltaire.com>

--
This patch was already accepted to the kernel. Please add it to OFED too.


Index: b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
===================================================================
--- a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c    2008-10-22 
20:28:06.000000000 +0200
+++ b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c    2008-10-27 
20:13:59.000000000 +0200
@@ -443,7 +443,7 @@ static int ipoib_mcast_join_complete(int
        }

        if (mcast->logcount++ < 20) {
-               if (status == -ETIMEDOUT) {
+               if (status == -ETIMEDOUT || status == -EAGAIN) {
                        ipoib_dbg_mcast(priv, "multicast join failed for " 
IPOIB_GID_FMT
                                        ", status %d\n",
                                        IPOIB_GID_ARG(mcast->mcmember.mgid),

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

Reply via email to