Home
last modified time | relevance | path

Searched refs:new_md (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/include/net/
Ddst_metadata.h114 struct metadata_dst *new_md; in tun_dst_unclone() local
120 new_md = metadata_dst_alloc(md_size, METADATA_IP_TUNNEL, GFP_ATOMIC); in tun_dst_unclone()
121 if (!new_md) in tun_dst_unclone()
124 memcpy(&new_md->u.tun_info, &md_dst->u.tun_info, in tun_dst_unclone()
128 if (new_md->u.tun_info.dst_cache.cache) { in tun_dst_unclone()
131 ret = dst_cache_init(&new_md->u.tun_info.dst_cache, GFP_ATOMIC); in tun_dst_unclone()
133 metadata_dst_free(new_md); in tun_dst_unclone()
140 skb_dst_set(skb, &new_md->dst); in tun_dst_unclone()
141 return new_md; in tun_dst_unclone()