xen-netback: use skb_is_gso in xenvif_start_xmit
authorWei Liu <wei.liu2@citrix.com>
Tue, 11 Mar 2014 12:45:32 +0000 (12:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Mar 2014 19:36:32 +0000 (15:36 -0400)
commit836fbaf459f9c041826864021688e9bd131e722c
treeb248ffe186f2f96b82642ec18c2980bd5f8a9bd4
parentf75761b6b5bf6277296505941d2dd8e11f9b5c35
xen-netback: use skb_is_gso in xenvif_start_xmit

In 5bd076708 ("Xen-netback: Fix issue caused by using gso_type wrongly")
we use skb_is_gso to determine if we need an extra slot to accommodate
the SKB. There's similar error in interface.c. Change that to use
skb_is_gso as well.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Annie Li <annie.li@oracle.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/interface.c