From: Timo Teräs Date: Wed, 31 Mar 2010 00:17:04 +0000 (+0000) Subject: xfrm_user: verify policy direction at XFRM_MSG_POLEXPIRE handler X-Git-Tag: v2.6.35-rc1~473^2~622 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8bf4d04f970fafb3430d332533e1cf103f2a018;p=pandora-kernel.git xfrm_user: verify policy direction at XFRM_MSG_POLEXPIRE handler Add missing check for policy direction verification. This is especially important since without this xfrm_user may end up deleting per-socket policy which is not allowed. Signed-off-by: Timo Teras Acked-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed