summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_state.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-06-18 22:43:43 -0700
committerDavid S. Miller <davem@davemloft.net>2005-06-18 22:43:43 -0700
commit4f09f0bbc1cb3c74e8f2047ad4be201a059829ee (patch)
treed5ceba89f401b073cea383fa245c2b6299b7d07e /net/xfrm/xfrm_state.c
parent4666faab095230ec8aa62da6c33391287f281154 (diff)
downloadop-kernel-dev-4f09f0bbc1cb3c74e8f2047ad4be201a059829ee.zip
op-kernel-dev-4f09f0bbc1cb3c74e8f2047ad4be201a059829ee.tar.gz
[IPSEC] Fix xfrm to pfkey SA state conversion
This patch adjusts the SA state conversion in af_key such that XFRM_STATE_ERROR/XFRM_STATE_DEAD will be converted to SADB_STATE_DEAD instead of SADB_STATE_DYING. According to RFC 2367, SADB_STATE_DYING SAs can be turned into mature ones through updating their lifetime settings. Since SAs which are in the states XFRM_STATE_ERROR/XFRM_STATE_DEAD cannot be resurrected, this value is unsuitable. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/xfrm/xfrm_state.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud