diff --git a/[refs] b/[refs] index a224482d744c..c85236c9ede7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5b1a002ade68173f21b2126a778278df72202ba6 +refs/heads/master: 4cf704fbea96075942bd033fd75aa4e76ae1c8a1 diff --git a/trunk/net/core/dev.c b/trunk/net/core/dev.c index 1f38401fc028..4913089c91dc 100644 --- a/trunk/net/core/dev.c +++ b/trunk/net/core/dev.c @@ -1820,7 +1820,7 @@ int dev_queue_xmit(struct sk_buff *skb) if (netif_needs_gso(dev, skb)) goto gso; - if (skb_shinfo(skb)->frag_list && + if (skb_has_frags(skb) && !(dev->features & NETIF_F_FRAGLIST) && __skb_linearize(skb)) goto out_kfree_skb; @@ -2407,7 +2407,7 @@ int dev_gro_receive(struct napi_struct *napi, struct sk_buff *skb) if (!(skb->dev->features & NETIF_F_GRO)) goto normal; - if (skb_is_gso(skb) || skb_shinfo(skb)->frag_list) + if (skb_is_gso(skb) || skb_has_frags(skb)) goto normal; rcu_read_lock();