diff options
Diffstat (limited to 'net/ipv4/ping.c')
-rw-r--r-- | net/ipv4/ping.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 2c00e8bf684d..340fcf29a966 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/ping.c | |||
@@ -371,6 +371,7 @@ void ping_err(struct sk_buff *skb, u32 info) | |||
371 | break; | 371 | break; |
372 | case ICMP_DEST_UNREACH: | 372 | case ICMP_DEST_UNREACH: |
373 | if (code == ICMP_FRAG_NEEDED) { /* Path MTU discovery */ | 373 | if (code == ICMP_FRAG_NEEDED) { /* Path MTU discovery */ |
374 | ipv4_sk_update_pmtu(skb, sk, info); | ||
374 | if (inet_sock->pmtudisc != IP_PMTUDISC_DONT) { | 375 | if (inet_sock->pmtudisc != IP_PMTUDISC_DONT) { |
375 | err = EMSGSIZE; | 376 | err = EMSGSIZE; |
376 | harderr = 1; | 377 | harderr = 1; |