commit | 42da6994ca6d20ad1d4e30255dee98047db454e7 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue May 26 18:50:19 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed May 27 03:25:54 2009 -0700 |
tree | 0feb7e6d5d18c5534f080636e809e7df9934f2c6 | |
parent | 0fb2787bf2fa5dbe02ffd61ca3ce842c50769573 [diff] |
gro: Open-code frags copy in skb_gro_receive gcc does a poor job at generating code for the memcpy of the frags array in skb_gro_receive, which is the primary purpose of that function when merging frags. In particular, it can't utilise the alignment information of the source and destination. This patch open-codes the copy so we process words instead of bytes. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>