diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-04-20 20:08:36 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-21 22:54:08 -0700 |
commit | 9a20e3197e7f6097897c6d1f18335a326ee06299 (patch) | |
tree | 607961225afba3dad014e857797881070d915be0 /net/core | |
parent | a7c561f2e32f98b477f5fe670b3f294be6b1eae2 (diff) | |
download | blackbird-op-linux-9a20e3197e7f6097897c6d1f18335a326ee06299.tar.gz blackbird-op-linux-9a20e3197e7f6097897c6d1f18335a326ee06299.zip |
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')
-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) |