diff --git a/net/core/dev.c b/net/core/dev.c index 9e26b8d9eafee..7c30dcecee1df 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2546,13 +2546,6 @@ int dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev, skb->next = nskb->next; nskb->next = NULL; - /* - * If device doesn't need nskb->dst, release it right now while - * its hot in this cpu cache - */ - if (dev->priv_flags & IFF_XMIT_DST_RELEASE) - skb_dst_drop(nskb); - if (!list_empty(&ptype_all)) dev_queue_xmit_nit(nskb, dev);