/* This routine is called when a Restart Confirmation is needed  */
static void rose_transmit_restart_confirmation(struct rose_neigh *neigh)
/* This routine is called when a Restart Confirmation is needed  */
static void rose_transmit_restart_confirmation(struct rose_neigh *neigh)
{
	struct sk_buff *skb;
	unsigned char *dptr;
	int len;
	len = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + ROSE_MIN_LEN + 1;
	if ((skb = alloc_skb(len, GFP_ATOMIC)) == NULL)
		return;
	skb_reserve(skb, AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN);
	dptr = skb_put(skb, ROSE_MIN_LEN + 1);
	*dptr++ = AX25_P_ROSE;
	*dptr++ = ROSE_GFI;
	*dptr++ = 0x00;
	*dptr++ = ROSE_RESTART_CONFIRMATION;
	if (!rose_send_frame(skb, neigh))
		kfree_skb(skb);
}