/* tipc_named_publish - tell other nodes about a new publication by this node  */
void tipc_named_publish(struct publication *publ)
/* tipc_named_publish - tell other nodes about a new publication by this node  */
void tipc_named_publish(struct publication *publ)
{
	struct sk_buff *buf;
	struct distr_item *item;
	list_add_tail(&publ->local_list, &publ_root);
	publ_cnt++;
	buf = named_prepare_buf(PUBLICATION, ITEM_SIZE, 0);
	if (!buf) {
		warn("Publication distribution failure\n");
		return;
	}
	item = (struct distr_item *)msg_data(buf_msg(buf));
	publ_to_item(item, publ);
	dbg("tipc_named_withdraw: broadcasting publish msg\n");
	tipc_cltr_broadcast(buf);
}