summaryrefslogtreecommitdiffstats
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-01-02 04:07:50 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:00:28 +0100
commit9ef32d0d1f64cad414697f34bda1b269f632f0cd (patch)
tree9bc49054bd29cd5c286631b1a75f028f6e95055a /include/net/xfrm.h
parent[PATCH] use SK_MEM_QUANTUM_SHIFT in __sk_mem_reclaim() (diff)
downloadlinux-9ef32d0d1f64cad414697f34bda1b269f632f0cd.tar.xz
linux-9ef32d0d1f64cad414697f34bda1b269f632f0cd.zip
[IPSEC]: Kill duplicate xfrm_policy_flush prototype
For five years we had two xfrm_policy_flush prototypes and every time that function's signature changed people have been diligently updating both of them without noticing :) Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r--include/net/xfrm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 5d5580ac0101..a419a4372e21 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -1310,7 +1310,6 @@ extern int xfrm_alloc_spi(struct xfrm_state *x, u32 minspi, u32 maxspi);
struct xfrm_state * xfrm_find_acq(u8 mode, u32 reqid, u8 proto,
xfrm_address_t *daddr, xfrm_address_t *saddr,
int create, unsigned short family);
-extern int xfrm_policy_flush(u8 type, struct xfrm_audit *audit_info);
extern int xfrm_sk_policy_insert(struct sock *sk, int dir, struct xfrm_policy *pol);
extern int xfrm_bundle_ok(struct xfrm_policy *pol, struct xfrm_dst *xdst,
struct flowi *fl, int family, int strict);