diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-12 09:33:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-12 09:33:37 +0200 |
commit | b94f1c0904da9b8bf031667afc48080ba7c3e8c9 (patch) | |
tree | ebf088c677a9b930d43e4961e14722e2ca1adbe6 /include/net/ipv6.h | |
parent | ipv6: Add redirect support to all protocol icmp error handlers. (diff) | |
download | linux-b94f1c0904da9b8bf031667afc48080ba7c3e8c9.tar.xz linux-b94f1c0904da9b8bf031667afc48080ba7c3e8c9.zip |
ipv6: Use icmpv6_notify() to propagate redirect, instead of rt6_redirect().
And delete rt6_redirect(), since it is no longer used.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r-- | include/net/ipv6.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index d4261d4d6c47..f695f39e8926 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -251,6 +251,8 @@ static inline void fl6_sock_release(struct ip6_flowlabel *fl) atomic_dec(&fl->users); } +extern void icmpv6_notify(struct sk_buff *skb, u8 type, u8 code, __be32 info); + extern int ip6_ra_control(struct sock *sk, int sel); extern int ipv6_parse_hopopts(struct sk_buff *skb); |