From: Herbert Xu Date: Tue, 26 May 2009 18:50:27 +0000 (+0000) Subject: gro: Optimise length comparison in skb_gro_header X-Git-Tag: v2.6.31-rc1~330^2~253 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7489594cb249aeb178287c9a43a9e4f366044259;p=pandora-kernel.git gro: Optimise length comparison in skb_gro_header By caching frag0_len, we can avoid checking both frag0 and the length separately in skb_gro_header. This helps as skb_gro_header is called four times per packet which amounts to a few million times at 10Gb/s. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed