/* This routine is called when a Restart Confirmation is needed  */
static void x25_transmit_restart_confirmation(struct x25_neigh *nb)
/* This routine is called when a Restart Confirmation is needed  */
static void x25_transmit_restart_confirmation(struct x25_neigh *nb)
{
	unsigned char *dptr;
	int len = X25_MAX_L2_LEN + X25_STD_MIN_LEN;
	struct sk_buff *skb = alloc_skb(len, GFP_ATOMIC);
	if (!skb)
		return;
	skb_reserve(skb, X25_MAX_L2_LEN);
	dptr = skb_put(skb, X25_STD_MIN_LEN);
	*dptr++ = nb->extended ? X25_GFI_EXTSEQ : X25_GFI_STDSEQ;
	*dptr++ = 0x00;
	*dptr++ = X25_RESTART_CONFIRMATION;
	skb->sk = NULL;
	x25_send_frame(skb, nb);
}