Message ID | 20130502083619.GA22010@macbook.localnet |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Patrick McHardy <kaber@trash.net> Date: Thu, 2 May 2013 10:36:49 +0200 > commit d0ed96507b21da2668766207f68518bef3193111 > Author: Patrick McHardy <kaber@trash.net> > Date: Thu May 2 10:35:02 2013 +0200 > > net: use netdev_features_t in skb_needs_linearize() > > Signed-off-by: Patrick McHardy <kaber@trash.net> Applied and queued up for -stable, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/core/dev.c b/net/core/dev.c index 4040673..40b1fad 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) &&