From: Eric Dumazet Date: Tue, 20 Apr 2010 20:08:36 +0000 (+0000) Subject: net: Introduce skb_orphan_try() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9a20e3197e7f6097897c6d1f18335a326ee06299;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git net: Introduce skb_orphan_try() At this point, skb->destructor is not the original one (stored in DEV_GSO_CB(skb)->destructor) Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/net/core/dev.c b/net/core/dev.c index e904c476b112..9bf1cccb067e 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1937,7 +1937,6 @@ gso: if (dev->priv_flags & IFF_XMIT_DST_RELEASE) skb_dst_drop(nskb); - skb_orphan_try(nskb); rc = ops->ndo_start_xmit(nskb, dev); if (unlikely(rc != NETDEV_TX_OK)) { if (rc & ~NETDEV_TX_MASK)