Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41872
b: refs/heads/master
c: 107a5fe
h: refs/heads/master
v: v3
  • Loading branch information
Ville Nuorvala authored and David S. Miller committed Dec 3, 2006
1 parent ac40d6e commit 3c1b80e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6fb32ddeb2502292bb89e17f58600ce265598ed7
refs/heads/master: 107a5fe6191249878de0de42bb64d3c35be1a986
13 changes: 7 additions & 6 deletions trunk/net/ipv6/ip6_tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,12 +424,9 @@ ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
}
break;
case ICMPV6_PARAMPROB:
/* ignore if parameter problem not caused by a tunnel
encapsulation limit sub-option */
if (code != ICMPV6_HDR_FIELD) {
break;
}
teli = parse_tlv_tnl_enc_lim(skb, skb->data);
teli = 0;
if (code == ICMPV6_HDR_FIELD)
teli = parse_tlv_tnl_enc_lim(skb, skb->data);

if (teli && teli == ntohl(info) - 2) {
tel = (struct ipv6_tlv_tnl_enc_lim *) &skb->data[teli];
Expand All @@ -441,6 +438,10 @@ ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
"tunnel!\n", t->parms.name);
rel_msg = 1;
}
} else if (net_ratelimit()) {
printk(KERN_WARNING
"%s: Recipient unable to parse tunneled "
"packet!\n ", t->parms.name);
}
break;
case ICMPV6_PKT_TOOBIG:
Expand Down

0 comments on commit 3c1b80e

Please sign in to comment.