/* tipc_bclink_send_msg - broadcast a packet to all nodes in cluster  */
int tipc_bclink_send_msg(struct sk_buff *buf)
/* tipc_bclink_send_msg - broadcast a packet to all nodes in cluster  */
int tipc_bclink_send_msg(struct sk_buff *buf)
{
	int res;
	spin_lock_bh(&bc_lock);
	res = tipc_link_send_buf(bcl, buf);
	if (unlikely(res == -ELINKCONG))
		buf_discard(buf);
	else
		bcl->stats.sent_info++;
	if (bcl->out_queue_size > bcl->stats.max_queue_sz)
		bcl->stats.max_queue_sz = bcl->out_queue_size;
	bcl->stats.queue_sz_counts++;
	bcl->stats.accu_queue_sz += bcl->out_queue_size;
	spin_unlock_bh(&bc_lock);
	return res;
}