diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-02-14 21:46:51 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2005-02-14 21:46:51 -0800 |
| commit | 9c0912476f4baed8557845863e9972881865bf1a (patch) | |
| tree | 9c7a75f6b471bc22a1f93c2ad42126d002351009 /include | |
| parent | 168542b9cfe6d53603317afa99c7cd58ed835629 (diff) | |
[IPSEC]: Merge xfrm{4,6}_bundle_ok/stale_bundle
This patch merges __xfrm4_bundle_ok/__xfrm6_bundle_ok/stale_bundle
so that when I add MTU verification code I don't have to put it in
three places.
It also moves the tests on dst->dev and dst->obsolete outside the
loop since the former is identical throughout the bundle and the
latter can only be positive on the final element which also happens
to be dst->path.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/xfrm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 0ad7e8f91ad0..df31ba2f118a 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -857,6 +857,7 @@ struct xfrm_state * xfrm_find_acq(u8 mode, u32 reqid, u8 proto, extern void xfrm_policy_flush(void); 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); extern wait_queue_head_t km_waitq; extern int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, u16 sport); |
