[34/65] net: use netdev_features_t in skb_needs_linearize()

Steven Rostedt
2013-06-03T22:17:46Z

[-- Attachment #1: 0034-net-use-netdev_features_t-in-skb_needs_linearize.patch --]
[-- Type: text/plain, Size: 851 bytes --]

3.6.11.5 stable review patch.
If anyone has any objections, please let me know.

------------------

From: Patrick McHardy <kaber@trash.net>

[ Upstream commit 6708c9e5cc9bfc7c9a00ce9c0fdd0b1d4952b3d1 ]

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
net/core/dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/dev.c b/net/core/dev.c
index cefd2c2..9b5e388 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2182,7 +2182,7 @@ EXPORT_SYMBOL(netif_skb_features);
* support DMA from it.
*/
static inline int skb_needs_linearize(struct sk_buff *skb,
- int features)
+ netdev_features_t features)
{
return skb_is_nonlinear(skb) &&
((skb_has_frag_list(skb) &&
--
1.7.10.4