skbuff: Move new code into __copy_skb_header
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 May 2009 22:11:37 +0000 (22:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 May 2009 07:40:43 +0000 (00:40 -0700)
commit82c49a352e0fd7af7e79a922b863f33f619f3209
treec5a1d8e7f5854076a10fdff6707463aed9d49c1e
parent45ea4ea2af358fe316c918381c7868f9418cad09
skbuff: Move new code into __copy_skb_header

Hi:

skbuff: Move new __skb_clone code into __copy_skb_header

It seems that people just keep on adding stuff to __skb_clone
instead __copy_skb_header.  This is wrong as it means your brand-new
attributes won't always get copied as you intended.

This patch moves them to the right place, and adds a comment to
prevent this from happening again.

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