]> git.karo-electronics.de Git - karo-tx-linux.git/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 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

index b24ab0e98eb4d8dd8cef2a20ef2a39b97d9ece92..9a278e9304262e6be24a7c890009cb4646d41bbb 100644 (file)
@@ -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,
-                                     int features)
+                                     netdev_features_t features)
 {
        return skb_is_nonlinear(skb) &&
                        ((skb_has_frag_list(skb) &&