netfilter: only do skb_checksum_help on CHECKSUM_PARTIAL in ip6_queue
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 Apr 2010 12:53:40 +0000 (14:53 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 8 Apr 2010 12:53:40 +0000 (14:53 +0200)
commit5dd59cc99131fb4a2775c00928b0f24b9e192a76
tree343fc67ec2f2063deb595c0ce06399a3aab6fc01
parent9e56c21486f2a64473f36fa49475fd253422fbf6
netfilter: only do skb_checksum_help on CHECKSUM_PARTIAL in ip6_queue

As we will set ip_summed to CHECKSUM_NONE when necessary in
ipq_mangle_ipv6, there is no need to zap CHECKSUM_COMPLETE in
ipq_build_packet_message.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv6/netfilter/ip6_queue.c