Commit 3c20962086b0ceb5498ba840e5a91bf4a692aae9
Committed by
Roland Dreier
1 parent
cbbe1efa49
Exists in
master
and in
20 other branches
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 <yosefe@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/infiniband/ulp/ipoib/ipoib_multicast.c
... | ... | @@ -409,7 +409,7 @@ |
409 | 409 | } |
410 | 410 | |
411 | 411 | if (mcast->logcount++ < 20) { |
412 | - if (status == -ETIMEDOUT) { | |
412 | + if (status == -ETIMEDOUT || status == -EAGAIN) { | |
413 | 413 | ipoib_dbg_mcast(priv, "multicast join failed for %pI6, status %d\n", |
414 | 414 | mcast->mcmember.mgid.raw, status); |
415 | 415 | } else { |