aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/icmp.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-12 03:33:37 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-12 03:33:37 -0400
commitb94f1c0904da9b8bf031667afc48080ba7c3e8c9 (patch)
treeebf088c677a9b930d43e4961e14722e2ca1adbe6 /net/ipv6/icmp.c
parentec18d9a2691d69cd14b48f9b919fddcef28b7f5c (diff)
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 'net/ipv6/icmp.c')
-rw-r--r--net/ipv6/icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c
index a113f7d7e938..24d69dbca4d6 100644
--- a/net/ipv6/icmp.c
+++ b/net/ipv6/icmp.c
@@ -598,7 +598,7 @@ out:
598 icmpv6_xmit_unlock(sk); 598 icmpv6_xmit_unlock(sk);
599} 599}
600 600
601static void icmpv6_notify(struct sk_buff *skb, u8 type, u8 code, __be32 info) 601void icmpv6_notify(struct sk_buff *skb, u8 type, u8 code, __be32 info)
602{ 602{
603 const struct inet6_protocol *ipprot; 603 const struct inet6_protocol *ipprot;
604 int inner_offset; 604 int inner_offset;