aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index b60c26b7d31c..bdf5465deb91 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1858,6 +1858,8 @@ static inline int netif_needs_gso(struct net_device *dev, struct sk_buff *skb)
1858{ 1858{
1859 return skb_is_gso(skb) && 1859 return skb_is_gso(skb) &&
1860 (!skb_gso_ok(skb, dev->features) || 1860 (!skb_gso_ok(skb, dev->features) ||
1861 (skb_shinfo(skb)->frag_list &&
1862 !(dev->features & NETIF_F_FRAGLIST)) ||
1861 unlikely(skb->ip_summed != CHECKSUM_PARTIAL)); 1863 unlikely(skb->ip_summed != CHECKSUM_PARTIAL));
1862} 1864}
1863 1865