diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-10-18 04:35:15 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-10-18 04:35:15 (GMT) |
commit | ca68145f16359f71cd62b2671aa3e8c58f45ef19 (patch) | |
tree | dcd8806792a443cddc1c25f015d136a179c6882b /net/ipv6/ip6_input.c | |
parent | ed3e37ddb0b422120d3d2d5da718c44c40af30ba (diff) | |
download | linux-fsl-qoriq-ca68145f16359f71cd62b2671aa3e8c58f45ef19.tar.xz |
[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 <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_input.c')
0 files changed, 0 insertions, 0 deletions