netfilter: only do skb_checksum_help on CHECKSUM_PARTIAL in nfnetlink_queue
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 Apr 2010 12:54:35 +0000 (14:54 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 8 Apr 2010 12:54:35 +0000 (14:54 +0200)
commite9f13cab49f7f28b65a6f63201fca56480b2e059
tree050e7b2e8beb53dff692215fac429d0df682fd7b
parent5dd59cc99131fb4a2775c00928b0f24b9e192a76
netfilter: only do skb_checksum_help on CHECKSUM_PARTIAL in nfnetlink_queue

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

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