From: Patrick McHardy Date: Wed, 1 May 2013 22:36:49 +0000 (+0000) Subject: net: use netdev_features_t in skb_needs_linearize() X-Git-Tag: v3.9.3~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41d05db1af2c73d17138389271ea149e13b06939;p=thirdparty%2Fkernel%2Fstable.git net: use netdev_features_t in skb_needs_linearize() [ Upstream commit 6708c9e5cc9bfc7c9a00ce9c0fdd0b1d4952b3d1 ] Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- diff --git a/net/core/dev.c b/net/core/dev.c index b24ab0e98eb4d..9a278e9304262 100644 --- 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, - int features) + netdev_features_t features) { return skb_is_nonlinear(skb) && ((skb_has_frag_list(skb) &&