From: Herbert Xu Date: Thu, 8 Apr 2010 12:52:28 +0000 (+0200) Subject: netfilter: only do skb_checksum_help on CHECKSUM_PARTIAL in ip_queue X-Git-Tag: v2.6.35-rc1~473^2~168^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e56c21486f2a64473f36fa49475fd253422fbf6;p=pandora-kernel.git netfilter: only do skb_checksum_help on CHECKSUM_PARTIAL in ip_queue While doing yet another audit on ip_summed I noticed ip_queue calling skb_checksum_help unnecessarily. As we will set ip_summed to CHECKSUM_NONE when necessary in ipq_mangle_ipv4, there is no need to zap CHECKSUM_COMPLETE in ipq_build_packet_message. Signed-off-by: Herbert Xu Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed