Searched refs:new_md (Results 1 – 1 of 1) sorted by relevance
157 struct metadata_dst *new_md; in tun_dst_unclone() local163 new_md = metadata_dst_alloc(md_size, METADATA_IP_TUNNEL, GFP_ATOMIC); in tun_dst_unclone()164 if (!new_md) in tun_dst_unclone()167 memcpy(&new_md->u.tun_info, &md_dst->u.tun_info, in tun_dst_unclone()171 if (new_md->u.tun_info.dst_cache.cache) { in tun_dst_unclone()174 ret = dst_cache_init(&new_md->u.tun_info.dst_cache, GFP_ATOMIC); in tun_dst_unclone()176 metadata_dst_free(new_md); in tun_dst_unclone()183 skb_dst_set(skb, &new_md->dst); in tun_dst_unclone()184 return new_md; in tun_dst_unclone()