projects
/
wrapfs-3.2.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09a4b7c
)
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
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 19 May 2013 18:38:35 +0000
(11:38 -0700)
[ Upstream commit
6708c9e5cc9bfc7c9a00ce9c0fdd0b1d4952b3d1
]
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/dev.c
patch
|
blob
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index b24ab0e98eb4d8dd8cef2a20ef2a39b97d9ece92..9a278e9304262e6be24a7c890009cb4646d41bbb 100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-2458,7
+2458,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) &&