[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>
This commit is contained in:
committed by
David S. Miller
parent
e695633e21
commit
dbe5b4aaaf
@@ -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 *
|
||||
|
||||
Reference in New Issue
Block a user