diff options
author | Patrick McHardy <kaber@trash.net> | 2013-05-01 18:36:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-02 13:58:12 -0400 |
commit | 6708c9e5cc9bfc7c9a00ce9c0fdd0b1d4952b3d1 (patch) | |
tree | 4d8e86616a50b8002a216b41bb3fdfc24ed4bffb /net/core | |
parent | 99c6bcf46d2233d33e441834e958ed0bc22b190a (diff) |
net: use netdev_features_t in skb_needs_linearize()
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-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 4040673f806a..40b1fadaf637 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -2456,7 +2456,7 @@ EXPORT_SYMBOL(netif_skb_features); | |||
2456 | * 2. skb is fragmented and the device does not support SG. | 2456 | * 2. skb is fragmented and the device does not support SG. |
2457 | */ | 2457 | */ |
2458 | static inline int skb_needs_linearize(struct sk_buff *skb, | 2458 | static inline int skb_needs_linearize(struct sk_buff *skb, |
2459 | int features) | 2459 | netdev_features_t features) |
2460 | { | 2460 | { |
2461 | return skb_is_nonlinear(skb) && | 2461 | return skb_is_nonlinear(skb) && |
2462 | ((skb_has_frag_list(skb) && | 2462 | ((skb_has_frag_list(skb) && |