]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/rxrpc/ar-error.c
Merge remote-tracking branch 'idle/next'
[karo-tx-linux.git] / net / rxrpc / ar-error.c
index 5d6b572a67049319af1c8def161911eaf557a142..a9206087b4d7a87ced5cef6c77b69fc2bb86a11c 100644 (file)
@@ -81,10 +81,6 @@ void rxrpc_UDP_error_report(struct sock *sk)
                        _net("I/F MTU %u", mtu);
                }
 
-               /* ip_rt_frag_needed() may have eaten the info */
-               if (mtu == 0)
-                       mtu = ntohs(icmp_hdr(skb)->un.frag.mtu);
-
                if (mtu == 0) {
                        /* they didn't give us a size, estimate one */
                        if (mtu > 1500) {