android_kernel_xiaomi_sm8350/net/xfrm
Herbert Xu 72cb6962a9 [IPSEC]: Add xfrm_init_state
This patch adds xfrm_init_state which is simply a wrapper that calls
xfrm_get_type and subsequently x->type->init_state.  It also gets rid
of the unused args argument.

Abstracting it out allows us to add common initialisation code, e.g.,
to set family-specific flags.

The add_time setting in xfrm_user.c was deleted because it's already
set by xfrm_state_alloc.

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>
2005-06-20 13:18:08 -07:00
..
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfrm_algo.c [XFRM]: skb_cow_data() does not set proper owner for new skbs. 2005-05-18 22:51:45 -07:00
xfrm_input.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfrm_policy.c [IPSEC]: Add xfrm_init_state 2005-06-20 13:18:08 -07:00
xfrm_state.c [IPSEC]: Add xfrm_init_state 2005-06-20 13:18:08 -07:00
xfrm_user.c [IPSEC]: Add xfrm_init_state 2005-06-20 13:18:08 -07:00