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 /include/net | |
parent | e695633e21ffb6a443a8c2f8b3f095c7f1a48eb0 (diff) | |
download | op-kernel-dev-dbe5b4aaafc715b12dbbea309d3d17958d01fd65.zip op-kernel-dev-dbe5b4aaafc715b12dbbea309d3d17958d01fd65.tar.gz |
[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 'include/net')
-rw-r--r-- | include/net/xfrm.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index c7612f4..0d5529c 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -242,7 +242,6 @@ extern int xfrm_state_unregister_afinfo(struct xfrm_state_afinfo *afinfo); extern void xfrm_state_delete_tunnel(struct xfrm_state *x); -struct xfrm_decap_state; struct xfrm_type { char *description; @@ -606,25 +605,11 @@ static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) extern void xfrm_dst_ifdown(struct dst_entry *dst, struct net_device *dev); -/* Decapsulation state, used by the input to store data during - * decapsulation procedure, to be used later (during the policy - * check - */ -struct xfrm_decap_state { - char decap_data[20]; - __u16 decap_type; -}; - -struct sec_decap_state { - struct xfrm_state *xvec; - struct xfrm_decap_state decap; -}; - struct sec_path { atomic_t refcnt; int len; - struct sec_decap_state x[XFRM_MAX_DEPTH]; + struct xfrm_state *xvec[XFRM_MAX_DEPTH]; }; static inline struct sec_path * |