diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-04-01 00:54:16 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-04-01 00:54:16 -0800 |
commit | dbe5b4aaafc715b12dbbea309d3d17958d01fd65 (patch) | |
tree | 936518ad9d5452f5efe18e0107255eab0aafb58d /net/xfrm/xfrm_input.c | |
parent | e695633e21ffb6a443a8c2f8b3f095c7f1a48eb0 (diff) | |
download | kernel_samsung_smdk4412-dbe5b4aaafc715b12dbbea309d3d17958d01fd65.zip kernel_samsung_smdk4412-dbe5b4aaafc715b12dbbea309d3d17958d01fd65.tar.gz kernel_samsung_smdk4412-dbe5b4aaafc715b12dbbea309d3d17958d01fd65.tar.bz2 |
[IPSEC]: Kill unused decap state structure
This patch removes the *_decap_state structures which were previously
used to share state between input/post_input. This is no longer
needed.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_input.c')
-rw-r--r-- | net/xfrm/xfrm_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_input.c b/net/xfrm/xfrm_input.c index 2407a70..b549710 100644 --- a/net/xfrm/xfrm_input.c +++ b/net/xfrm/xfrm_input.c @@ -18,7 +18,7 @@ void __secpath_destroy(struct sec_path *sp) { int i; for (i = 0; i < sp->len; i++) - xfrm_state_put(sp->x[i].xvec); + xfrm_state_put(sp->xvec[i]); kmem_cache_free(secpath_cachep, sp); } EXPORT_SYMBOL(__secpath_destroy); @@ -37,7 +37,7 @@ struct sec_path *secpath_dup(struct sec_path *src) memcpy(sp, src, sizeof(*sp)); for (i = 0; i < sp->len; i++) - xfrm_state_hold(sp->x[i].xvec); + xfrm_state_hold(sp->xvec[i]); } atomic_set(&sp->refcnt, 1); return sp; |