diff options
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; |