]> err.no Git - linux-2.6/commit
[IPSEC]: Ensure that state inner family is set
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 31 Jul 2007 09:04:32 +0000 (02:04 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 31 Jul 2007 09:28:32 +0000 (02:28 -0700)
commit196b003620f1ee8d0fc63f13f341187d63c1dc0a
tree2710ea74dab44caa9d3405fc6d95a2663f253f16
parentb8ed601cefe7a4014b93560bd846caf44f25b1c1
[IPSEC]: Ensure that state inner family is set

Similar to the issue we had with template families which
specified the inner families of policies, we need to set
the inner families of states as the main xfrm user Openswan
leaves it as zero.

af_key is unaffected because the inner family is set by it
and not the KM.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_user.c