 if (sock_flag(osk, SOCK_ZAPPED)) sock_set_flag(sk, SOCK_ZAPPED);  if (sock_flag(osk, SOCK_DBG)) sock_set_flag(sk, SOCK_DBG); 
sock_copy_flags(sk, osk); 
static struct sock *rose_make_new(struct sock *osk){	struct sock *sk;	struct rose_sock *rose, *orose;	if (osk->sk_type != SOCK_SEQPACKET)		return NULL;	if ((sk = sk_alloc(PF_ROSE, GFP_ATOMIC, &rose_proto, 1)) == NULL)		return NULL;	rose = rose_sk(sk);	sock_init_data(NULL, sk);	skb_queue_head_init(&rose->ack_queue);#ifdef M_BIT	skb_queue_head_init(&rose->frag_queue);	rose->fraglen  = 0;#endif	sk->sk_type     = osk->sk_type;	sk->sk_socket   = osk->sk_socket;	sk->sk_priority = osk->sk_priority;	sk->sk_protocol = osk->sk_protocol;	sk->sk_rcvbuf   = osk->sk_rcvbuf;	sk->sk_sndbuf   = osk->sk_sndbuf;	sk->sk_state    = TCP_ESTABLISHED;	sk->sk_sleep    = osk->sk_sleep;	if (sock_flag(osk, SOCK_ZAPPED))		sock_set_flag(sk, SOCK_ZAPPED);	if (sock_flag(osk, SOCK_DBG))		sock_set_flag(sk, SOCK_DBG);	init_timer(&rose->timer);	init_timer(&rose->idletimer);	orose		= rose_sk(osk);	rose->t1	= orose->t1;	rose->t2	= orose->t2;	rose->t3	= orose->t3;	rose->hb	= orose->hb;	rose->idle	= orose->idle;	rose->defer	= orose->defer;	rose->device	= orose->device;	rose->qbitincl	= orose->qbitincl;	return sk;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/53b924b31fa53ac3007df3fef6870d5074a9adf8/af_rose.c/clean/net/rose/af_rose.c