]> git.baikalelectronics.ru Git - kernel.git/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)
commit89517d98e559f7714ba37833c541f6a0973b7893
tree237334a15ed58f709ad947b303fc9c641bfcfa9a
parent46a5a48be4ff36a263dc445891d38d62c5e24004
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