gro: Nasty optimisations for page frags in skb_gro_receive
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 26 May 2009 18:50:32 +0000 (18:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2009 10:26:04 +0000 (03:26 -0700)
commit66e92fcf1ded5dd0da30d016ed47882eb183ec71
treebe7f0fc2415ada8eb5030af53f3063375c381d47
parentcb18978cbf454c236db5e4191a12ef71eef9b3a0
gro: Nasty optimisations for page frags in skb_gro_receive

This patch reverses the direction of the frags array copy in
skb_gro_receive in order simplify the loop conditional.  It
also avoids touching the first element of the original frags
array.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c