Message ID | 20220202110137.470850-3-atenart@kernel.org (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: fix issues when uncloning an skb dst+metadata | expand |
diff --git a/include/net/dst_metadata.h b/include/net/dst_metadata.h index c8f8b7b56bba..edd75c89222d 100644 --- a/include/net/dst_metadata.h +++ b/include/net/dst_metadata.h @@ -135,7 +135,6 @@ static inline struct metadata_dst *tun_dst_unclone(struct sk_buff *skb) #endif skb_dst_drop(skb); - dst_hold(&new_md->dst); skb_dst_set(skb, &new_md->dst); return new_md; }