From: Herbert Xu Date: Sun, 16 Dec 2007 23:55:02 +0000 (-0800) Subject: [IPSEC]: Move integrity stat collection into xfrm_input X-Git-Tag: v2.6.25-rc1~1162^2~1439 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=668dc8af3150f837f7f0461001bbbc0ce25d7bdf;p=pandora-kernel.git [IPSEC]: Move integrity stat collection into xfrm_input Similar to the moving out of the replay processing on the output, this patch moves the integrity stat collectin from x->type->input into xfrm_input. This would eventually allow transforms such as AH/ESP to be lockless. The error value EBADMSG (currently unused in the crypto layer) is used to indicate a failed integrity check. In future this error can be directly returned by the crypto layer once we switch to aead algorithms. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed