From: Herbert Xu Date: Thu, 18 Oct 2007 04:30:07 +0000 (-0700) Subject: [IPSEC]: Move ip_summed zapping out of xfrm6_rcv_spi X-Git-Tag: v2.6.24-rc1~294^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aa68cb90638ccc36559a936814e4c089892b3d9;p=pandora-kernel.git [IPSEC]: Move ip_summed zapping out of xfrm6_rcv_spi Not every transform needs to zap ip_summed. For example, a pure tunnel mode encapsulation does not affect the hardware checksum at all. In fact, every algorithm (that needs this) other than AH6 already does its own ip_summed zapping. This patch moves the zapping into AH6 which is in line with what IPv4 does. Possible future optimisation: Checksum the data as we copy them in IPComp. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed