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)
committerDavid 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

index 4040673f806aec18645c058546c6d10f5eca00e9..40b1fadaf637cafb12a8aece038882f8ba045274 100644 (file)
@@ -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,
-                                     int features)
+                                     netdev_features_t features)
 {
        return skb_is_nonlinear(skb) &&
                        ((skb_has_frag_list(skb) &&