projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee40d4b
)
net: remove open-coded skb_cow_head.
author
françois romieu
<romieu@fr.zoreil.com>
Tue, 15 Jul 2014 21:55:35 +0000
(23:55 +0200)
committer
David S. Miller
<davem@davemloft.net>
Thu, 17 Jul 2014 05:42:32 +0000
(22:42 -0700)
Signed-off-by: Francois Romieu <romieu@fr.zoreil.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 138ab897de7d9e1a8914df0da3bc5cf48873e6a8..239722af098dc559eadc48976d3a39c1cbab7c5f 100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-2421,8
+2421,8
@@
struct sk_buff *__skb_gso_segment(struct sk_buff *skb,
skb_warn_bad_offload(skb);
- if (skb_header_cloned(skb) &&
-
(err = pskb_expand_head(skb, 0, 0, GFP_ATOMIC))
)
+ err = skb_cow_head(skb, 0);
+
if (err < 0
)
return ERR_PTR(err);
}