Skip to content

Commit 3c20962

Browse files
Yossi EtiginRoland Dreier
authored andcommitted
IPoIB: Do not print error messages for multicast join retries
When IPoIB tries to join a multicast group, and the SA module's SM address handle is NULL (because of an SM change, etc), the join returns with -EAGAIN status. In that case, don't print an error message unless multicast debugging is enabled. Signed-off-by: Yossi Etigin <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
1 parent cbbe1ef commit 3c20962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/infiniband/ulp/ipoib/ipoib_multicast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ static int ipoib_mcast_join_complete(int status,
409409
}
410410

411411
if (mcast->logcount++ < 20) {
412-
if (status == -ETIMEDOUT) {
412+
if (status == -ETIMEDOUT || status == -EAGAIN) {
413413
ipoib_dbg_mcast(priv, "multicast join failed for %pI6, status %d\n",
414414
mcast->mcmember.mgid.raw, status);
415415
} else {

0 commit comments

Comments
 (0)