ipv4: Handle PMTU in all ICMP error handlers.
[deliverable/linux.git] / net / ipv4 / ping.c
index 2c00e8bf684d1a3272401652c343b66fa69a3e54..340fcf29a966399c596dac530f27fb1fb3651974 100644 (file)
@@ -371,6 +371,7 @@ void ping_err(struct sk_buff *skb, u32 info)
                break;
        case ICMP_DEST_UNREACH:
                if (code == ICMP_FRAG_NEEDED) { /* Path MTU discovery */
+                       ipv4_sk_update_pmtu(skb, sk, info);
                        if (inet_sock->pmtudisc != IP_PMTUDISC_DONT) {
                                err = EMSGSIZE;
                                harderr = 1;
This page took 0.057822 seconds and 5 git commands to generate.