diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-15 01:14:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 06:09:46 -0400 |
commit | 1c4c40c42da468ef02dc04940930c1926c964558 (patch) | |
tree | 3285bd36ab5ff41a24245e94e50016d5bf45bedf /net/xfrm/xfrm_policy.c | |
parent | 8d8a0b1cc2a8f9794a3f1f747089b6a93774408d (diff) |
xfrm: make xfrm_bundle_ok local
Only used in one place.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index cbab6e1a8c9c..044e77898512 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c | |||
@@ -50,6 +50,9 @@ static struct xfrm_policy_afinfo *xfrm_policy_get_afinfo(unsigned short family); | |||
50 | static void xfrm_policy_put_afinfo(struct xfrm_policy_afinfo *afinfo); | 50 | static void xfrm_policy_put_afinfo(struct xfrm_policy_afinfo *afinfo); |
51 | static void xfrm_init_pmtu(struct dst_entry *dst); | 51 | static void xfrm_init_pmtu(struct dst_entry *dst); |
52 | static int stale_bundle(struct dst_entry *dst); | 52 | static int stale_bundle(struct dst_entry *dst); |
53 | static int xfrm_bundle_ok(struct xfrm_policy *pol, struct xfrm_dst *xdst, | ||
54 | struct flowi *fl, int family, int strict); | ||
55 | |||
53 | 56 | ||
54 | static struct xfrm_policy *__xfrm_policy_unlink(struct xfrm_policy *pol, | 57 | static struct xfrm_policy *__xfrm_policy_unlink(struct xfrm_policy *pol, |
55 | int dir); | 58 | int dir); |
@@ -2276,7 +2279,7 @@ static void xfrm_init_pmtu(struct dst_entry *dst) | |||
2276 | * still valid. | 2279 | * still valid. |
2277 | */ | 2280 | */ |
2278 | 2281 | ||
2279 | int xfrm_bundle_ok(struct xfrm_policy *pol, struct xfrm_dst *first, | 2282 | static int xfrm_bundle_ok(struct xfrm_policy *pol, struct xfrm_dst *first, |
2280 | struct flowi *fl, int family, int strict) | 2283 | struct flowi *fl, int family, int strict) |
2281 | { | 2284 | { |
2282 | struct dst_entry *dst = &first->u.dst; | 2285 | struct dst_entry *dst = &first->u.dst; |
@@ -2358,8 +2361,6 @@ int xfrm_bundle_ok(struct xfrm_policy *pol, struct xfrm_dst *first, | |||
2358 | return 1; | 2361 | return 1; |
2359 | } | 2362 | } |
2360 | 2363 | ||
2361 | EXPORT_SYMBOL(xfrm_bundle_ok); | ||
2362 | |||
2363 | int xfrm_policy_register_afinfo(struct xfrm_policy_afinfo *afinfo) | 2364 | int xfrm_policy_register_afinfo(struct xfrm_policy_afinfo *afinfo) |
2364 | { | 2365 | { |
2365 | struct net *net; | 2366 | struct net *net; |