ipv6: Add redirect support to all protocol icmp error handlers.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -332,6 +332,8 @@ static void rawv6_err(struct sock *sk, struct sk_buff *skb,
|
||||
ip6_sk_update_pmtu(skb, sk, info);
|
||||
harderr = (np->pmtudisc == IPV6_PMTUDISC_DO);
|
||||
}
|
||||
if (type == NDISC_REDIRECT)
|
||||
ip6_sk_redirect(skb, sk);
|
||||
if (np->recverr) {
|
||||
u8 *payload = skb->data;
|
||||
if (!inet->hdrincl)
|
||||
|
Reference in New Issue
Block a user