|
@@ -552,12 +552,16 @@ static int tipc_bcbearer_send(struct sk_buff *buf,
|
|
if (likely(!msg_non_seq(buf_msg(buf)))) {
|
|
if (likely(!msg_non_seq(buf_msg(buf)))) {
|
|
struct tipc_msg *msg;
|
|
struct tipc_msg *msg;
|
|
|
|
|
|
- assert(tipc_bcast_nmap.count != 0);
|
|
|
|
bcbuf_set_acks(buf, tipc_bcast_nmap.count);
|
|
bcbuf_set_acks(buf, tipc_bcast_nmap.count);
|
|
msg = buf_msg(buf);
|
|
msg = buf_msg(buf);
|
|
msg_set_non_seq(msg, 1);
|
|
msg_set_non_seq(msg, 1);
|
|
msg_set_mc_netid(msg, tipc_net_id);
|
|
msg_set_mc_netid(msg, tipc_net_id);
|
|
bcl->stats.sent_info++;
|
|
bcl->stats.sent_info++;
|
|
|
|
+
|
|
|
|
+ if (WARN_ON(!tipc_bcast_nmap.count)) {
|
|
|
|
+ dump_stack();
|
|
|
|
+ return 0;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
/* Send buffer over bearers until all targets reached */
|
|
/* Send buffer over bearers until all targets reached */
|