]> xenbits.xensource.com Git - people/julieng/linux-arm.git/commit
net/xen-netback: xenvif_gop_frag_copy: move GSO check out of the loop
authorJulien Grall <julien.grall@citrix.com>
Wed, 24 Jun 2015 17:03:14 +0000 (18:03 +0100)
committerJulien Grall <julien.grall@citrix.com>
Mon, 28 Sep 2015 11:07:23 +0000 (12:07 +0100)
commitab457aaa69e1d3573b43a740aec4f8bc4a56fe28
tree36d85743b35fc6d9956428a369cb875fd4565fe5
parent248fec76f1e10f207eb21201b32652dbdb35fa28
net/xen-netback: xenvif_gop_frag_copy: move GSO check out of the loop

The skb doesn't change within the function. Therefore it's only
necessary to check if we need GSO once at the beginning.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
drivers/net/xen-netback/netback.c