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:
99c6bcf
)
net: use netdev_features_t in skb_needs_linearize()
author
Patrick McHardy
<kaber@trash.net>
Wed, 1 May 2013 22:36:49 +0000
(22:36 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 2 May 2013 17:58:12 +0000
(13:58 -0400)
Signed-off-by: Patrick McHardy <kaber@trash.net>
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 4040673f806aec18645c058546c6d10f5eca00e9..40b1fadaf637cafb12a8aece038882f8ba045274 100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-2456,7
+2456,7
@@
EXPORT_SYMBOL(netif_skb_features);
* 2. skb is fragmented and the device does not support SG.
*/
static inline int skb_needs_linearize(struct sk_buff *skb,
-
in
t features)
+
netdev_features_
t features)
{
return skb_is_nonlinear(skb) &&
((skb_has_frag_list(skb) &&