/* Note: Must not hold subscriber's server port lock, since tipc_send() will try to take the lock if the message is rejected and returned!  */
static void subscr_send_event(struct subscription *sub, u32 found_lower, u32 found_upper, u32 event, u32 port_ref, u32 node)
/* Note: Must not hold subscriber's server port lock, since tipc_send() will try to take the lock if the message is rejected and returned!  */
static void subscr_send_event(struct subscription *sub, u32 found_lower, u32 found_upper, u32 event, u32 port_ref, u32 node)
{
	struct iovec msg_sect;
	msg_sect.iov_base = (void *)&sub->evt;
	msg_sect.iov_len = sizeof(struct tipc_event);
	sub->evt.event = htohl(event, sub->swap);
	sub->evt.found_lower = htohl(found_lower, sub->swap);
	sub->evt.found_upper = htohl(found_upper, sub->swap);
	sub->evt.port.ref = htohl(port_ref, sub->swap);
	sub->evt.port.node = htohl(node, sub->swap);
	tipc_send(sub->server_ref, 1, &msg_sect);
}