2.6.32.28 update
/net/core/dev.c
blob:d04cd93f22b5cf262f60fc23ec6400c2f58282b9 -> blob:fd4c1e78154c65e77b9db32bf94999ec3423d0a8
--- net/core/dev.c
+++ net/core/dev.c
@@ -1747,6 +1747,14 @@ gso:
skb->next = nskb->next;
nskb->next = NULL;
+
+ /*
+ * If device doesnt 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);
+
rc = ops->ndo_start_xmit(nskb, dev);
if (unlikely(rc != NETDEV_TX_OK)) {
nskb->next = skb->next;