summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2013-05-01 22:36:49 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-19 11:38:35 -0700
commit41d05db1af2c73d17138389271ea149e13b06939 (patch)
tree8c134c7b4de2511d4666c204a707dc0fd6338f55 /net/core
parent09a4b7ce88847a65f3c52dac145a604c250dbe12 (diff)
downloadlwn-41d05db1af2c73d17138389271ea149e13b06939.tar.gz
lwn-41d05db1af2c73d17138389271ea149e13b06939.zip
net: use netdev_features_t in skb_needs_linearize()
[ 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>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index b24ab0e98eb4..9a278e930426 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) &&