]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
gro: Open-code memcpy in napi_fraginfo_skb
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 29 Jan 2009 14:19:52 +0000 (14:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Jan 2009 00:33:04 +0000 (16:33 -0800)
commit80595d59ba9917227856e663da249c2276a8628d
tree4e1a175110c7ea8ee33a59a6d18cc72775332d3e
parent81705ad1b2f926d2ef15ed95074a9c1fa9fb4dc4
gro: Open-code memcpy in napi_fraginfo_skb

This patch optimises napi_fraginfo_skb to only copy the bits
necessary.  We also open-code the memcpy so that the alignment
information is always available to gcc.

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