Commit 41d05db1 authored by Patrick McHardy's avatar Patrick McHardy Committed by Greg Kroah-Hartman

net: use netdev_features_t in skb_needs_linearize()

[ Upstream commit 6708c9e5 ]
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 09a4b7ce
...@@ -2458,7 +2458,7 @@ EXPORT_SYMBOL(netif_skb_features); ...@@ -2458,7 +2458,7 @@ EXPORT_SYMBOL(netif_skb_features);
* 2. skb is fragmented and the device does not support SG. * 2. skb is fragmented and the device does not support SG.
*/ */
static inline int skb_needs_linearize(struct sk_buff *skb, static inline int skb_needs_linearize(struct sk_buff *skb,
int features) netdev_features_t features)
{ {
return skb_is_nonlinear(skb) && return skb_is_nonlinear(skb) &&
((skb_has_frag_list(skb) && ((skb_has_frag_list(skb) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment