 t->type = xfrm_get_type(IPPROTO_IPIP, t->props.family); if (t->type == NULL) goto error;  if (t->type->init_state(t, NULL)) 
 if (xfrm_init_state(t)) 
static struct xfrm_state *ipcomp_tunnel_create(struct xfrm_state *x){	struct xfrm_state *t;		t = xfrm_state_alloc();	if (t == NULL)		goto out;	t->id.proto = IPPROTO_IPIP;	t->id.spi = x->props.saddr.a4;	t->id.daddr.a4 = x->id.daddr.a4;	memcpy(&t->sel, &x->sel, sizeof(t->sel));	t->props.family = AF_INET;	t->props.mode = 1;	t->props.saddr.a4 = x->props.saddr.a4;	t->props.flags = x->props.flags;		t->type = xfrm_get_type(IPPROTO_IPIP, t->props.family);	if (t->type == NULL)		goto error;			if (t->type->init_state(t, NULL))		goto error;	t->km.state = XFRM_STATE_VALID;	atomic_set(&t->tunnel_users, 1);out:	return t;error:	t->km.state = XFRM_STATE_DEAD;	xfrm_state_put(t);	t = NULL;	goto out;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/72cb6962a91f2af9eef69a06198e1949c10259ae/ipcomp.c/clean/net/ipv4/ipcomp.c