diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-01 17:59:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-01 17:59:04 -0500 |
commit | 2774c131b1d19920b4587db1cfbd6f0750ad1f15 (patch) | |
tree | 3a0482c727cf4dcc046a211214f12459dcba8271 /net/ipv6/xfrm6_policy.c | |
parent | 69ead7afdf6028184f713a77376ee26f8aaafdcd (diff) |
xfrm: Handle blackhole route creation via afinfo.
That way we don't have to potentially do this in every xfrm_lookup()
caller.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/xfrm6_policy.c')
-rw-r--r-- | net/ipv6/xfrm6_policy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c index c128ca1affe3..48ce496802fd 100644 --- a/net/ipv6/xfrm6_policy.c +++ b/net/ipv6/xfrm6_policy.c | |||
@@ -274,6 +274,7 @@ static struct xfrm_policy_afinfo xfrm6_policy_afinfo = { | |||
274 | .get_tos = xfrm6_get_tos, | 274 | .get_tos = xfrm6_get_tos, |
275 | .init_path = xfrm6_init_path, | 275 | .init_path = xfrm6_init_path, |
276 | .fill_dst = xfrm6_fill_dst, | 276 | .fill_dst = xfrm6_fill_dst, |
277 | .blackhole_route = ip6_blackhole_route, | ||
277 | }; | 278 | }; |
278 | 279 | ||
279 | static int __init xfrm6_policy_init(void) | 280 | static int __init xfrm6_policy_init(void) |