aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r--net/ipv6/udp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index f05099fc5901..051ad481973f 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -479,6 +479,9 @@ void __udp6_lib_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
479 if (sk == NULL) 479 if (sk == NULL)
480 return; 480 return;
481 481
482 if (type == ICMPV6_PKT_TOOBIG)
483 ip6_sk_update_pmtu(skb, sk, info);
484
482 np = inet6_sk(sk); 485 np = inet6_sk(sk);
483 486
484 if (!icmpv6_err_convert(type, code, &err) && !np->recverr) 487 if (!icmpv6_err_convert(type, code, &err) && !np->recverr)