projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
105dcb5
)
wimax/i2400m: remove open-coded skb_cow_head.
author
françois romieu
<romieu@fr.zoreil.com>
Sat, 29 Mar 2014 11:26:30 +0000
(12:26 +0100)
committer
David S. Miller
<davem@davemloft.net>
Sat, 29 Mar 2014 21:49:47 +0000
(17:49 -0400)
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wimax/i2400m/netdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/wimax/i2400m/netdev.c
b/drivers/net/wimax/i2400m/netdev.c
index 48896138418f21e206782bc259e8fa0b5da9ace7..a9970f1af976a5b0c34d41be8df61ed47365713b 100644
(file)
--- a/
drivers/net/wimax/i2400m/netdev.c
+++ b/
drivers/net/wimax/i2400m/netdev.c
@@
-374,8
+374,7
@@
netdev_tx_t i2400m_hard_start_xmit(struct sk_buff *skb,
d_fnstart(3, dev, "(skb %p net_dev %p)\n", skb, net_dev);
- if (skb_header_cloned(skb) &&
- pskb_expand_head(skb, 0, 0, GFP_ATOMIC))
+ if (skb_cow_head(skb, 0))
goto drop;
if (i2400m->state == I2400M_SS_IDLE)