]> err.no Git - linux-2.6/commit
net: Preserve netfilter attributes in skb_gso_segment using __copy_skb_header
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Aug 2008 21:55:02 +0000 (14:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Aug 2008 02:51:36 +0000 (19:51 -0700)
commit6f85a124d819e1cf33b16d064a6a656fd448a735
tree237334a15ed58f709ad947b303fc9c641bfcfa9a
parent7447ef63cf2dfdc444f4c72ae13f604350b2e25f
net: Preserve netfilter attributes in skb_gso_segment using __copy_skb_header

skb_gso_segment didn't preserve some attributes in the original skb
such as the netfilter fields.  This was harmless until they were used
which is the case for packets going through lo.

This patch makes it call __copy_skb_header which also picks up some
other missing attributes.

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