diff options
author | Patrick McHardy <kaber@trash.net> | 2013-05-01 22:36:49 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-19 11:38:35 -0700 |
commit | 41d05db1af2c73d17138389271ea149e13b06939 (patch) | |
tree | 8c134c7b4de2511d4666c204a707dc0fd6338f55 | |
parent | 09a4b7ce88847a65f3c52dac145a604c250dbe12 (diff) |
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>
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index b24ab0e98eb..9a278e93042 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) && |