From: Herbert Xu Date: Thu, 18 Oct 2007 04:35:15 +0000 (-0700) Subject: [IPSEC]: Disallow combinations of RO and AH/ESP/IPCOMP X-Git-Tag: v2.6.24-rc1~294^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca68145f16359f71cd62b2671aa3e8c58f45ef19;p=pandora-kernel.git [IPSEC]: Disallow combinations of RO and AH/ESP/IPCOMP Combining RO and AH/ESP/IPCOMP does not make sense. So this patch adds a check in the state initialisation function to prevent this. This allows us to safely remove the mode input function of RO since it can never be called anymore. Indeed, if somehow it does get called we'll know about it through an OOPS instead of it slipping past silently. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed