]> git.hungrycats.org Git - linux/commitdiff
net: use netdev_features_t in skb_needs_linearize()
authorPatrick McHardy <kaber@trash.net>
Wed, 1 May 2013 22:36:49 +0000 (22:36 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 May 2013 17:54:45 +0000 (10:54 -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

index dd12421b9e85e8329f0c24c1974fc8dfb92a52c8..7db83d64e4f761864f2236e8ead01d36690a3a72 100644 (file)
@@ -2170,7 +2170,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) &&