projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index e904c476b1122738d4b72ae2ddab1988ee36ba2a..9bf1cccb067e3c2fa40ea4a8ac1e6a22fc6630fd 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)