From: Herbert Xu Date: Tue, 26 May 2009 18:50:23 +0000 (+0000) Subject: gro: Only use skb_gro_header for completely non-linear packets X-Git-Tag: v2.6.31-rc1~330^2~257 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78d3fd0b7de844a6dad56e9620fc9d2271b32ab9;p=pandora-kernel.git gro: Only use skb_gro_header for completely non-linear packets Currently skb_gro_header is used for packets which put the hardware header in skb->data with the rest in frags. Since the drivers that need this optimisation all provide completely non-linear packets, we can gain extra optimisations by only performing the frag0 optimisation for completely non-linear packets. In particular, we can simply test frag0 (instead of skb_headlen) to see whether the optimisation is in force. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed