diff options
Diffstat (limited to 'net/ipv6/sit.c')
-rw-r--r-- | net/ipv6/sit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index cdd714690f95..917a5cd4b8fc 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c | |||
@@ -526,13 +526,13 @@ static int ipip6_err(struct sk_buff *skb, u32 info) | |||
526 | 526 | ||
527 | if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) { | 527 | if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) { |
528 | ipv4_update_pmtu(skb, dev_net(skb->dev), info, | 528 | ipv4_update_pmtu(skb, dev_net(skb->dev), info, |
529 | t->parms.link, 0, IPPROTO_IPV6, 0); | 529 | t->parms.link, 0, iph->protocol, 0); |
530 | err = 0; | 530 | err = 0; |
531 | goto out; | 531 | goto out; |
532 | } | 532 | } |
533 | if (type == ICMP_REDIRECT) { | 533 | if (type == ICMP_REDIRECT) { |
534 | ipv4_redirect(skb, dev_net(skb->dev), t->parms.link, 0, | 534 | ipv4_redirect(skb, dev_net(skb->dev), t->parms.link, 0, |
535 | IPPROTO_IPV6, 0); | 535 | iph->protocol, 0); |
536 | err = 0; | 536 | err = 0; |
537 | goto out; | 537 | goto out; |
538 | } | 538 | } |