mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
ipv6: Add redirect support to all protocol icmp error handlers.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3a5ad2ee5e
commit
ec18d9a269
13 changed files with 69 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue