diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-06-20 13:19:41 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-20 13:19:41 -0700 |
commit | d094cd83c06e06e01d8edb540555f3f64e4081c2 (patch) | |
tree | c9aad8ebaebbf0cde7c535bb764a6d6e859125fb /lib/kernel_lock.c | |
parent | 72cb6962a91f2af9eef69a06198e1949c10259ae (diff) |
[IPSEC]: Add xfrm_state_afinfo->init_flags
This patch adds the xfrm_state_afinfo->init_flags hook which allows
each address family to perform any common initialisation that does
not require a corresponding destructor call.
It will be used subsequently to set the XFRM_STATE_NOPMTUDISC flag
in IPv4.
It also fixes up the error codes returned by xfrm_init_state.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: James Morris <jmorris@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/kernel_lock.c')
0 files changed, 0 insertions, 0 deletions