From: Li RongQing Date: Fri, 28 Dec 2012 08:06:28 +0000 (+0800) Subject: xfrm: removes a superfluous check and add a statistic X-Git-Tag: v3.9-rc1~139^2~270^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb65a9cb953fdfe9c507e8dbb6c4ec2540484bd3;p=pandora-kernel.git xfrm: removes a superfluous check and add a statistic Remove the check if x->km.state equal to XFRM_STATE_VALID in xfrm_state_check_expire(), which will be done before call xfrm_state_check_expire(). add a LINUX_MIB_XFRMOUTSTATEINVALID statistic to record the outbound error due to invalid xfrm state. Signed-off-by: Li RongQing Signed-off-by: Steffen Klassert --- Reading git-diff-tree failed