net: Introduce skb_orphan_try()
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 20 Apr 2010 20:08:36 +0000 (20:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Apr 2010 05:54:08 +0000 (22:54 -0700)
At this point, skb->destructor is not the original one (stored in
DEV_GSO_CB(skb)->destructor)

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c

index e904c47..9bf1ccc 100644 (file)
@@ -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)