|
@@ -2184,9 +2184,7 @@ EXPORT_SYMBOL(netif_skb_features);
|
|
|
/*
|
|
/*
|
|
|
* Returns true if either:
|
|
* Returns true if either:
|
|
|
* 1. skb has frag_list and the device doesn't support FRAGLIST, or
|
|
* 1. skb has frag_list and the device doesn't support FRAGLIST, or
|
|
|
- * 2. skb is fragmented and the device does not support SG, or if
|
|
|
|
|
- * at least one of fragments is in highmem and device does not
|
|
|
|
|
- * support DMA from it.
|
|
|
|
|
|
|
+ * 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)
|
|
int features)
|