diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-04-21 00:08:36 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-22 09:54:08 +0400 |
commit | 9a20e3197e7f6097897c6d1f18335a326ee06299 (patch) | |
tree | 607961225afba3dad014e857797881070d915be0 /net/core/dev.c | |
parent | a7c561f2e32f98b477f5fe670b3f294be6b1eae2 (diff) | |
download | linux-9a20e3197e7f6097897c6d1f18335a326ee06299.tar.xz |
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 <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) |