[ewg] [PATCH] ipoib: do not print error messages for multicast join retries

Yossi Etigin yosefe at Voltaire.COM
Mon Mar 16 10:35:23 PDT 2009


 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 <yosefe at 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



More information about the ewg mailing list