浏览代码

IPoIB: Retry failed send-only multicast group joins

When a send-only multicast group join fails, mcast->query must be set
to NULL.  Otherwise, IPoIB will never retry the join and the multicast
group will never be reachable.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Eli Cohen 18 年之前
父节点
当前提交
c11bd42a76
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/infiniband/ulp/ipoib/ipoib_multicast.c

+ 1 - 0
drivers/infiniband/ulp/ipoib/ipoib_multicast.c

@@ -326,6 +326,7 @@ ipoib_mcast_sendonly_join_complete(int status,
 
 
 		/* Clear the busy flag so we try again */
 		/* Clear the busy flag so we try again */
 		clear_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags);
 		clear_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags);
+		mcast->query = NULL;
 	}
 	}
 
 
 	complete(&mcast->done);
 	complete(&mcast->done);