diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-12 09:39:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-12 09:39:24 +0200 |
commit | b587ee3ba21f58b7770a132e6bca5c6658ac5095 (patch) | |
tree | e8d93a75e52e1427667ae708218ac2ebd1007b45 /net/ipv6/route.c | |
parent | ipv6: Use icmpv6_notify() to propagate redirect, instead of rt6_redirect(). (diff) | |
download | linux-b587ee3ba21f58b7770a132e6bca5c6658ac5095.tar.xz linux-b587ee3ba21f58b7770a132e6bca5c6658ac5095.zip |
net: Add dummy dst_ops->redirect method where needed.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 7296af144d6c..3151aabff5fd 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -191,6 +191,10 @@ static void ip6_rt_blackhole_update_pmtu(struct dst_entry *dst, u32 mtu) { } +static void ip6_rt_blackhole_redirect(struct dst_entry *dst, struct sk_buff *skb) +{ +} + static u32 *ip6_rt_blackhole_cow_metrics(struct dst_entry *dst, unsigned long old) { @@ -205,6 +209,7 @@ static struct dst_ops ip6_dst_blackhole_ops = { .mtu = ip6_blackhole_mtu, .default_advmss = ip6_default_advmss, .update_pmtu = ip6_rt_blackhole_update_pmtu, + .redirect = ip6_rt_blackhole_redirect, .cow_metrics = ip6_rt_blackhole_cow_metrics, .neigh_lookup = ip6_neigh_lookup, }; |