diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-08-24 12:30:28 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-23 00:08:46 +0200 |
commit | 1c0953997567b22e32fdf85d3b4bc0f2461fd161 (patch) | |
tree | 5e4d691503d911f2134734e345ae0d7f01b97e4e /include/net | |
parent | [XFRM]: Do not flush all bundles on SA insert. (diff) | |
download | linux-1c0953997567b22e32fdf85d3b4bc0f2461fd161.tar.xz linux-1c0953997567b22e32fdf85d3b4bc0f2461fd161.zip |
[XFRM]: Purge dst references to deleted SAs passively.
Just let GC and other normal mechanisms take care of getting
rid of DST cache references to deleted xfrm_state objects
instead of walking all the policy bundles.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/xfrm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index a620a43c9eeb..c7870b6eae01 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -995,7 +995,6 @@ struct xfrm_state * xfrm_find_acq(u8 mode, u32 reqid, u8 proto, int create, unsigned short family); extern void xfrm_policy_flush(u8 type); extern int xfrm_sk_policy_insert(struct sock *sk, int dir, struct xfrm_policy *pol); -extern int xfrm_flush_bundles(void); extern int xfrm_bundle_ok(struct xfrm_dst *xdst, struct flowi *fl, int family, int strict); extern void xfrm_init_pmtu(struct dst_entry *dst); |