diff options
author | Patrick McHardy <kaber@trash.net> | 2013-05-01 22:36:49 +0000 |
---|---|---|
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); * 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) && |