[IPV6]: Avoid skb_copy/pskb_copy/skb_realloc_headroom on input
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 15 Oct 2007 08:29:10 +0000 (01:29 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 15 Oct 2007 19:26:31 +0000 (12:26 -0700)
commit65c88466602c61b639f75623e5ba72c1534df9bd
tree423b5dc6391dfa05acc0d8ea214306e966ef23be
parentf61944efdf0d2569721ed6d7b0445e9f1214b295
[IPV6]: Avoid skb_copy/pskb_copy/skb_realloc_headroom on input

This patch replaces unnecessary uses of skb_copy by pskb_expand_head
on the IPv6 input path.

This allows us to remove the double pointers later.

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