diff options
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
-rw-r--r-- | drivers/net/xen-netback/interface.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c index 83a71ac5b93a..a6a8c1579eb9 100644 --- a/drivers/net/xen-netback/interface.c +++ b/drivers/net/xen-netback/interface.c | |||
@@ -148,8 +148,7 @@ static int xenvif_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
148 | /* If the skb is GSO then we'll also need an extra slot for the | 148 | /* If the skb is GSO then we'll also need an extra slot for the |
149 | * metadata. | 149 | * metadata. |
150 | */ | 150 | */ |
151 | if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV4 || | 151 | if (skb_is_gso(skb)) |
152 | skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6) | ||
153 | min_slots_needed++; | 152 | min_slots_needed++; |
154 | 153 | ||
155 | /* If the skb can't possibly fit in the remaining slots | 154 | /* If the skb can't possibly fit in the remaining slots |