diff options
Diffstat (limited to 'net/ipv6/raw.c')
-rw-r--r-- | net/ipv6/raw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index b5c1dcb27737..ef0579d5bca6 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c | |||
@@ -332,6 +332,8 @@ static void rawv6_err(struct sock *sk, struct sk_buff *skb, | |||
332 | ip6_sk_update_pmtu(skb, sk, info); | 332 | ip6_sk_update_pmtu(skb, sk, info); |
333 | harderr = (np->pmtudisc == IPV6_PMTUDISC_DO); | 333 | harderr = (np->pmtudisc == IPV6_PMTUDISC_DO); |
334 | } | 334 | } |
335 | if (type == NDISC_REDIRECT) | ||
336 | ip6_sk_redirect(skb, sk); | ||
335 | if (np->recverr) { | 337 | if (np->recverr) { |
336 | u8 *payload = skb->data; | 338 | u8 *payload = skb->data; |
337 | if (!inet->hdrincl) | 339 | if (!inet->hdrincl) |