static int dn_confirm_accept(struct sock *sk, long *timeo, int allocation) 
static int dn_confirm_accept(struct sock *sk, long *timeo, unsigned int __nocast allocation) 
static int dn_confirm_accept(struct sock *sk, long *timeo, int allocation){	struct dn_scp *scp = DN_SK(sk);	DEFINE_WAIT(wait);	int err;	if (scp->state != DN_CR)		return -EINVAL;	scp->state = DN_CC;	scp->segsize_loc = dst_metric(__sk_dst_get(sk), RTAX_ADVMSS);	dn_send_conn_conf(sk, allocation);	prepare_to_wait(sk->sk_sleep, &wait, TASK_INTERRUPTIBLE);	for(;;) {		release_sock(sk);		if (scp->state == DN_CC)			*timeo = schedule_timeout(*timeo);		lock_sock(sk);		err = 0;		if (scp->state == DN_RUN)			break;		err = sock_error(sk);		if (err)			break;		err = sock_intr_errno(*timeo);		if (signal_pending(current))			break;		err = -EAGAIN;		if (!*timeo)			break;		prepare_to_wait(sk->sk_sleep, &wait, TASK_INTERRUPTIBLE);	}	finish_wait(sk->sk_sleep, &wait);	if (err == 0) {		sk->sk_socket->state = SS_CONNECTED;	} else if (scp->state != DN_CC) {		sk->sk_socket->state = SS_UNCONNECTED;	}	return err;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/f4a19a56e38442e434b8809915d756469f1e89a2/af_decnet.c/clean/net/decnet/af_decnet.c