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 10:54:45 -0700 |
commit | 7433ca9c45b8a8c98de9cd57f84d107d05925102 (patch) | |
tree | c533d3baab4891872c628e185e3fc09b46d6b383 /net/core | |
parent | ddb85c714d57cabde95e71a20ee9f3aac0db167f (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>
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 dd12421b9e8..7db83d64e4f 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2170,7 +2170,7 @@ EXPORT_SYMBOL(netif_skb_features); * support DMA from it. */ 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) && |