diff options
Diffstat (limited to 'net/rxrpc/ar-error.c')
-rw-r--r-- | net/rxrpc/ar-error.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/rxrpc/ar-error.c b/net/rxrpc/ar-error.c index 5d6b572a6704..a9206087b4d7 100644 --- a/net/rxrpc/ar-error.c +++ b/net/rxrpc/ar-error.c | |||
@@ -81,10 +81,6 @@ void rxrpc_UDP_error_report(struct sock *sk) | |||
81 | _net("I/F MTU %u", mtu); | 81 | _net("I/F MTU %u", mtu); |
82 | } | 82 | } |
83 | 83 | ||
84 | /* ip_rt_frag_needed() may have eaten the info */ | ||
85 | if (mtu == 0) | ||
86 | mtu = ntohs(icmp_hdr(skb)->un.frag.mtu); | ||
87 | |||
88 | if (mtu == 0) { | 84 | if (mtu == 0) { |
89 | /* they didn't give us a size, estimate one */ | 85 | /* they didn't give us a size, estimate one */ |
90 | if (mtu > 1500) { | 86 | if (mtu > 1500) { |