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>
This commit is contained in:
parent
ec18d9a269
commit
b94f1c0904
5 changed files with 4 additions and 111 deletions
|
@ -1350,7 +1350,7 @@ static void ndisc_redirect_rcv(struct sk_buff *skb)
|
|||
return;
|
||||
}
|
||||
|
||||
rt6_redirect(skb);
|
||||
icmpv6_notify(skb, NDISC_REDIRECT, 0, 0);
|
||||
}
|
||||
|
||||
void ndisc_send_redirect(struct sk_buff *skb, const struct in6_addr *target)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue