aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_multicast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
index 1c7148208ce8..932bf139a65d 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
@@ -701,7 +701,7 @@ void ipoib_mcast_send(struct net_device *dev, union ib_gid *mgid,
701 */ 701 */
702 spin_lock(&priv->lock); 702 spin_lock(&priv->lock);
703 703
704 if (!test_bit(IPOIB_MCAST_STARTED, &priv->flags)) { 704 if (!test_bit(IPOIB_MCAST_STARTED, &priv->flags) || !priv->broadcast) {
705 ++priv->stats.tx_dropped; 705 ++priv->stats.tx_dropped;
706 dev_kfree_skb_any(skb); 706 dev_kfree_skb_any(skb);
707 goto unlock; 707 goto unlock;