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()168 new_md->u.tun_info = md_dst->u.tun_info; in tun_dst_unclone()169 memcpy(ip_tunnel_info_opts(&new_md->u.tun_info), in tun_dst_unclone()174 if (new_md->u.tun_info.dst_cache.cache) { in tun_dst_unclone()177 ret = dst_cache_init(&new_md->u.tun_info.dst_cache, GFP_ATOMIC); in tun_dst_unclone()179 metadata_dst_free(new_md); in tun_dst_unclone()186 skb_dst_set(skb, &new_md->dst); in tun_dst_unclone()187 return new_md; in tun_dst_unclone()