projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7c561f
)
net: Introduce skb_orphan_try()
author
Eric Dumazet
<eric.dumazet@gmail.com>
Tue, 20 Apr 2010 20:08:36 +0000
(20:08 +0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index
e904c47
..
9bf1ccc
100644
(file)
--- 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)