aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_multicast.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
index ed0c2ead8bc1..6c6db759e79e 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
@@ -780,9 +780,11 @@ void ipoib_mcast_dev_flush(struct net_device *dev)
780 &priv->multicast_tree); 780 &priv->multicast_tree);
781 781
782 list_add_tail(&priv->broadcast->list, &remove_list); 782 list_add_tail(&priv->broadcast->list, &remove_list);
783 } 783 priv->broadcast = nmcast;
784 784 } else
785 priv->broadcast = nmcast; 785 ipoib_warn(priv, "could not reallocate broadcast group "
786 IPOIB_GID_FMT "\n",
787 IPOIB_GID_ARG(priv->broadcast->mcmember.mgid));
786 } 788 }
787 789
788 spin_unlock_irqrestore(&priv->lock, flags); 790 spin_unlock_irqrestore(&priv->lock, flags);