Skip to content

Commit

Permalink
IPoIB: Do not print error messages for multicast join retries
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Yossi Etigin authored and Roland Dreier committed Jan 16, 2009
1 parent cbbe1ef commit 3c20962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/ulp/ipoib/ipoib_multicast.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ static int ipoib_mcast_join_complete(int status,
}

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

0 comments on commit 3c20962

Please sign in to comment.